L
ling-wallet
↓ 0 downloadsLing Wallet: a post-quantum privacy-coin wallet, full node and HyperTorus miner for LNG
Keywords wallet, cryptocurrency, lng, node, miner, ling
lingfu install ling-walletBuilds
Latest version: 0.1.2
- linfailedView log
- lingossuccess↓ Download
- rpifailedView log
- winfailedView log
Build log — lin
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
352 | return ok!(0.0);
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:381:21
|
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
381 | return ok!(0.0);
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:418:135
|
274 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
418 | ... let Some(Clip { data: ClipData::Midi(n), .. }) = en.project.tracks.get_mut(t).and_then(|x| x.clips.get_mut(c)) else { return ok!(0.0) };
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:462:53
|
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
462 | let Some(an) = self.th(t, c) else { return ok!(0.0) };
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:465:21
|
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
465 | return ok!(0.0);
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:559:142
|
274 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
559 | ... let Some(Clip { data: ClipData::Midi(dst), len, .. }) = en.project.tracks.get_mut(t).and_then(|x| x.clips.get_mut(c)) else { return ok!(0.0) };
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:669:137
|
274 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
669 | ... let Some(Clip { data: ClipData::Midi(dst), .. }) = en.project.tracks.get_mut(t).and_then(|x| x.clips.get_mut(c)) else { return ok!(0.0) };
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:692:98
|
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
692 | let Some(i) = en.project.tracks.get(a.u(0)).and_then(|t| t.inst.as_ref()) else { return ok!(String::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:700:98
|
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
700 | let Some(i) = en.project.tracks.get(a.u(0)).and_then(|t| t.inst.as_ref()) else { return ok!(String::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:725:97
|
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
725 | let Some(i) = en.project.tracks.get_mut(t).and_then(|t| t.inst.as_mut()) else { return ok!(0.0) };
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:754:97
|
274 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
754 | let Some(i) = en.project.tracks.get_mut(t).and_then(|t| t.inst.as_mut()) else { return ok!(0.0) };
| ^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:1332:61
|
387 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
1332 | let Ok(data) = std::fs::read(a.s(0)) else { return ok!(String::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:1343:61
|
387 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
1343 | let Ok(data) = std::fs::read(a.s(0)) else { return ok!(Val::List(vec![])) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:1359:61
|
387 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
1359 | let Ok(data) = std::fs::read(a.s(0)) else { return ok!(String::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:1371:61
|
387 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
1371 | let Ok(data) = std::fs::read(a.s(0)) else { return ok!(String::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:1425:50
|
387 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
1425 | ... let Some(pr) = g.as_mut() else { return ok!(Val::List(vec![Val::Num(0.0), Val::Num(0.0), Val::Str(String::new())])) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:1443:35
|
387 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
1443 | Err(_) => return ok!(Val::List(vec![])),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:1989:60
|
387 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
1989 | let Some(Val::List(l)) = a.0.get(2) else { return ok!(false) };
| ^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:2005:145
|
387 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
2005 | ... let Some(Clip { data: ClipData::Midi(n), .. }) = en.project.tracks.get_mut(a.u(0)).and_then(|t| t.clips.get_mut(a.u(1))) else { return ok!(false) };
| ^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:2066:102
|
387 | return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
2066 | let Some(c) = en.project.tracks.get(a.u(0)).and_then(|t| t.clips.get(a.u(1))) else { return ok!(Val::List(vec![])) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:2072:137
|
387 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
2072 | ... let Some(Clip { data: ClipData::Midi(n), .. }) = en.project.tracks.get(a.u(0)).and_then(|t| t.clips.get(a.u(1))) else { return ok!(Val::List(vec![])) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:2404:107
|
387 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
2404 | ... let Some(slot) = fx_target(&mut en, a.n(0) as i64).and_then(|v| v.get_mut(a.u(1))) else { return ok!(Val::List(vec![])) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:2432:103
|
387 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
2432 | ... let Some(slot) = fx_target(&mut en, a.n(0) as i64).and_then(|v| v.get(a.u(1))) else { return ok!(Val::List(vec![])) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable expression
--> /opt/ling/crates/ling-daw/src/api.rs:2449:103
|
387 | ... return Ok(Val::from($v))
| ------------------------ any code following this expression is unreachable
...
2449 | ... let Some(slot) = fx_target(&mut en, a.n(0) as i64).and_then(|v| v.get(a.u(1))) else { return ok!(Val::List(vec![])) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
warning: unreachable pattern
--> /opt/ling/crates/ling-daw/src/ai_import.rs:195:19
|
194 | ... ("orchestral" | "cinematic" | "folk" | "jazz" | "rock", "strings" | "brass" | "woodwind" | "piano" | "guitar" | "organ" | "ke...
| ------ matches all the relevant values
195 | ... ("lofi" | "jazz", "keys" | "piano") => &[("prism", "Moonlight EP"), ("prism", "Rhodes Dream")],
| ^^^^^^ no value can reach this
|
= note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
warning: unreachable pattern
--> /opt/ling/crates/ling-daw/src/ai_import.rs:216:22
|
190 | ... ("chiptune", "arp") => &[("prism", "Chipmunk Arp"), ("synth", "Electronic: Square Lead")],
| ----- matches all the relevant values
...
216 | ... ("chiptune", "arp" | "pluck") => &[("chip", "GB Arp Shimmer"), ("chip", "Shimmer Arp"), ("chip", "Hyper Arp"), ("chip", "Spar...
| ^^^^^ no value can reach this
warning: unreachable pattern
--> /opt/ling/crates/ling-daw/src/ai_import.rs:215:9
|
191 | ... ("chiptune", "rolling bass" | "sub bass" | "pluck bass") => &[("synth", "Electronic: Techno Pluck Bass"), ("prism", "Octave B...
| -------------------------------------------------------- matches all the relevant values
...
215 | ... ("chiptune", "pluck bass" | "rolling bass" | "sub bass") => &[("chip", "NES Triangle Bass"), ("chip", "GB Wave Bass"), ("chip...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
warning: variable does not need to be mutable
--> /opt/ling/crates/ling-daw/src/articulate.rs:439:9
|
439 | let mut take = |v: &serde_json::Value, out: &mut Vec<Pick>| {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `gi`
--> /opt/ling/crates/ling-daw/src/api/tracker_pdf.rs:118:14
|
118 | for (gi, grp) in groups.iter().enumerate() {
| ^^ help: if this is intentional, prefix it with an underscore: `_gi`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: value assigned to `note` is never read
--> /opt/ling/crates/ling-daw/src/api/keytune_api.rs:187:79
|
187 | let (mut tonic, mut minor, mut corr, mut inpct, mut solo, mut note) = (0.0, 0.0, 0.0, 0.0, 0.0, String::new());
| ^^^^^^^^ this value is reassigned later and never used
...
226 | note = if kind == 2 { "drums: left alone".to_string() } else { format!("{} notes", notes.len()) };
| ---- `note` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `abs`
--> /opt/ling/crates/ling-daw/src/api/rvc_api.rs:66:13
|
66 | let abs = |p: PathBuf| if p.is_absolute() { p } else { std::env::current_dir().map(|d| d.join(&p)).unwrap_or(p) };
| ^^^ help: if this is intentional, prefix it with an underscore: `_abs`
warning: variable does not need to be mutable
--> /opt/ling/crates/ling-daw/src/api/rvc_api.rs:371:25
|
371 | let mut en = eng.lock().unwrap_or_else(|p| p.into_inner());
| ----^^
| |
| help: remove this `mut`
warning: unused variable: `p`
--> /opt/ling/crates/ling-daw/src/dsp/drums.rs:368:13
|
368 | let p = &self.p;
| ^ help: if this is intentional, prefix it with an underscore: `_p`
warning: variable does not need to be mutable
--> /opt/ling/crates/ling-daw/src/dsp/scriptdsp.rs:411:9
|
411 | let mut declare = |n: &str, v: f32, names: &mut Vec<String>, init: &mut Vec<f32>, vars: &mut HashMap<String, usize>| -> usize {
| ----^^^^^^^
| |
| help: remove this `mut`
warning: unused variable: `rate_hz`
--> /opt/ling/crates/ling-daw/src/dsp/hypergrowl.rs:708:13
|
708 | let rate_hz = 0.05 * 200f32.powf(self.v(18));
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_hz`
warning: value assigned to `prog_text` is never read
--> /opt/ling/crates/ling-daw/src/compose.rs:1444:25
|
1444 | let mut prog_text = String::new();
| ^^^^^^^^^^^^^ this value is reassigned later and never used
1445 | if let Some(p) = phr.iter().find(|p| p.kind == "progression") {
1446 | prog_text = p.label.rsplit_once(" x").map(|x| x.0.to_string()).unwrap_or(p.label.clone());
| --------- `prog_text` is overwritten here before the previous value is read
warning: variable does not need to be mutable
--> /opt/ling/crates/ling-daw/src/redesign.rs:48:9
|
48 | let mut add = |r: Role, d: f32, out: &mut Vec<(Role, f32)>| match out.iter_mut().find(|m| m.0 == r) {
| ----^^^
| |
| help: remove this `mut`
warning: variant `Native` is never constructed
--> /opt/ling/crates/ling-daw/src/api/rvc_api.rs:31:5
|
25 | enum Run {
| --- variant in this enum
...
31 | Native(Option<std::thread::JoinHandle<Result<(), String>>>, Arc<std::sync::atomic::AtomicU32>),
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: field `id` is never read
--> /opt/ling/crates/ling-daw/src/api/rvc_api.rs:61:5
|
45 | struct Launch {
| ------ field in this struct
...
61 | id: u64,
| ^^
warning: field `clip_start` is never read
--> /opt/ling/crates/ling-daw/src/api/theory_api.rs:19:9
|
9 | pub struct Analysis {
| -------- field in this struct
...
19 | pub clip_start: f64,
| ^^^^^^^^^^
warning: field `c` is never read
--> /opt/ling/crates/ling-daw/src/dsp/scriptdsp.rs:552:5
|
549 | struct Site {
| ---- field in this struct
...
552 | c: f32,
| ^
|
= note: `Site` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: constant `P_PAN` is never used
--> /opt/ling/crates/ling-daw/src/dsp/voice.rs:30:7
|
30 | const P_PAN: usize = 13;
| ^^^^^
warning: field `tau` is never read
--> /opt/ling/crates/ling-daw/src/dsp/voice.rs:516:5
|
489 | pub struct Voice {
| ----- field in this struct
...
516 | tau: f32,
| ^^^
warning: field `tmp` is never read
--> /opt/ling/crates/ling-daw/src/engine.rs:52:5
|
47 | pub struct Engine {
| ------ field in this struct
...
52 | tmp: Vec<f32>,
| ^^^
warning: field `0` is never read
--> /opt/ling/crates/ling-daw/src/tracker_export.rs:432:10
|
432 | Note(usize, u8),
| ---- ^^^^^
| |
| field in this variant
|
= note: `Want` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
432 - Note(usize, u8),
432 + Note((), u8),
|
warning: field `0` is never read
--> /opt/ling/crates/ling-daw/src/tracker_export.rs:434:9
|
434 | Seg(usize, f64, f64),
| --- ^^^^^
| |
| field in this variant
|
= note: `Want` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
434 - Seg(usize, f64, f64),
434 + Seg((), f64, f64),
|
warning: function `hand_description` is never used
--> /opt/ling/crates/ling-daw/src/presetinfo.rs:282:4
|
282 | fn hand_description(kind: &str, preset: &str) -> String {
| ^^^^^^^^^^^^^^^^
warning: `ling-daw` (lib) generated 126 warnings (run `cargo fix --lib -p ling-daw` to apply 12 suggestions)
Compiling ling-lang v2030.1.52 (/opt/ling)
Compiling ling-wallet v0.1.2 (/work/src/.ling-build/ling-wallet)