[INFO] cloning repository https://github.com/WeirdConstructor/WBlockDSP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WeirdConstructor/WBlockDSP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeirdConstructor%2FWBlockDSP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeirdConstructor%2FWBlockDSP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a6c8ffeabca1052c6d2acbc6b1030a26b35f463 [INFO] testing WeirdConstructor/WBlockDSP against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeirdConstructor%2FWBlockDSP" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WeirdConstructor/WBlockDSP on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WeirdConstructor/WBlockDSP [INFO] finished tweaking git repo https://github.com/WeirdConstructor/WBlockDSP [INFO] tweaked toml for git repo https://github.com/WeirdConstructor/WBlockDSP written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/WeirdConstructor/WLambda.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f5333f5254f38e611b8d51820d53cdb70309d67e7036d2da7cffaec67e1be18 [INFO] running `Command { std: "docker" "start" "-a" "8f5333f5254f38e611b8d51820d53cdb70309d67e7036d2da7cffaec67e1be18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f5333f5254f38e611b8d51820d53cdb70309d67e7036d2da7cffaec67e1be18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5333f5254f38e611b8d51820d53cdb70309d67e7036d2da7cffaec67e1be18", kill_on_drop: false }` [INFO] [stdout] 8f5333f5254f38e611b8d51820d53cdb70309d67e7036d2da7cffaec67e1be18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4da8adb0a17a8231dbaaf9347db7f22b5d1ec60cf3e1c91d6d9b1c4a7c9db67 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4da8adb0a17a8231dbaaf9347db7f22b5d1ec60cf3e1c91d6d9b1c4a7c9db67", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cranelift-entity v0.78.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.78.0 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling regalloc v0.0.32 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling cranelift-codegen-meta v0.78.0 [INFO] [stderr] Compiling cranelift-bforest v0.78.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling cranelift-codegen v0.78.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rustyline v6.3.0 [INFO] [stderr] Compiling rmp-serde v0.14.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling cranelift-native v0.78.0 [INFO] [stderr] Compiling cranelift-frontend v0.78.0 [INFO] [stderr] Compiling cranelift-module v0.78.0 [INFO] [stderr] Compiling cranelift v0.78.0 [INFO] [stderr] Compiling cranelift-jit v0.78.0 [INFO] [stderr] Compiling wlambda v0.8.1 (https://github.com/WeirdConstructor/WLambda.git#192ee434) [INFO] [stderr] Compiling wblockdsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wlambda::*` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wlambda::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/jit.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jit::*` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use jit::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | ASTNode::Lit(v) => "lit", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | ASTNode::Var(v) => "var", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | ASTNode::Assign(v, _) => "assign", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/jit.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | ASTNode::BinOp(op, _, _) => "binop", [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/jit.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | ASTNode::Call(fun, _) => "call1", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmts` [INFO] [stdout] --> src/jit.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | ASTNode::Stmts(stmts) => "stmts", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stmts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/jit.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | for (i, local_name) in fun.locals.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_type` [INFO] [stdout] --> src/jit.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let ptr_type = self.module.target_config().pointer_type(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/jit.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | ASTNode::Call(name, arg) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | for (block, x, y) in &mut self.load { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/block_lang.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | for (block, x, y) in &mut self.load { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | let (block, xo, yo) = self.ref_at_origin(x, y)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | if let Some((block, xo, yo, _row)) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/block_lang.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | for ((x, y), block) in &self.blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/block_lang.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | for ((x, y), block) in &self.blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/block_lang.rs:1006:37 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Some(row) = uncon_out_row { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xo` [INFO] [stdout] --> src/block_lang.rs:1284:25 [INFO] [stdout] | [INFO] [stdout] 1284 | let (mut block, xo, yo) = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/block_lang.rs:1456:17 [INFO] [stdout] | [INFO] [stdout] 1456 | let mut res = Ok(()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jit.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut builder = [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:980:13 [INFO] [stdout] | [INFO] [stdout] 980 | let mut main_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1002:25 [INFO] [stdout] | [INFO] [stdout] 1002 | let mut area_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1007:33 [INFO] [stdout] | [INFO] [stdout] 1007 | ... let mut result_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1150:13 [INFO] [stdout] | [INFO] [stdout] 1150 | let mut parents_work_list = &mut self.area_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1151:13 [INFO] [stdout] | [INFO] [stdout] 1151 | let mut size_work_list = &mut self.size_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1234:13 [INFO] [stdout] | [INFO] [stdout] 1234 | let mut area_work_list = &mut self.area_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1368:30 [INFO] [stdout] | [INFO] [stdout] 1368 | id2: usize, x2: i64, mut y2: i64 [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/jit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | params: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locals` [INFO] [stdout] --> src/jit.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | locals: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ast` [INFO] [stdout] --> src/jit.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ast: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/jit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(ast: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `builder_context` [INFO] [stdout] --> src/jit.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | builder_context: FunctionBuilderContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ctx` [INFO] [stdout] --> src/jit.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | ctx: codegen::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_ctx` [INFO] [stdout] --> src/jit.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | data_ctx: DataContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module` [INFO] [stdout] --> src/jit.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | module: JITModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/jit.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn compile(&mut self, prog: ASTFun) -> Result<*const u8, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/jit.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | fn translate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FunctionTranslator` [INFO] [stdout] --> src/jit.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct FunctionTranslator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/jit.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn new(builder: FunctionBuilder<'a>, module: &'a mut JITModule) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_functions` [INFO] [stdout] --> src/jit.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn register_functions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `declare_variable` [INFO] [stdout] --> src/jit.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn declare_variable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/jit.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn translate(&mut self, fun: ASTFun) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/jit.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | fn compile(&mut self, ast: &Box) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area_id` [INFO] [stdout] --> src/block_lang.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | area_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sources` [INFO] [stdout] --> src/block_lang.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | sources: HashSet<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sinks` [INFO] [stdout] --> src/block_lang.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | sinks: HashSet<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "c4da8adb0a17a8231dbaaf9347db7f22b5d1ec60cf3e1c91d6d9b1c4a7c9db67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4da8adb0a17a8231dbaaf9347db7f22b5d1ec60cf3e1c91d6d9b1c4a7c9db67", kill_on_drop: false }` [INFO] [stdout] c4da8adb0a17a8231dbaaf9347db7f22b5d1ec60cf3e1c91d6d9b1c4a7c9db67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd38ed9c5e7c450e2b567be701e1b1255ca0d0cc42b35ab74bffe03c37a26bf3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd38ed9c5e7c450e2b567be701e1b1255ca0d0cc42b35ab74bffe03c37a26bf3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `wlambda::*` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wlambda::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/jit.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jit::*` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use jit::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | ASTNode::Lit(v) => "lit", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | ASTNode::Var(v) => "var", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | ASTNode::Assign(v, _) => "assign", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/jit.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | ASTNode::BinOp(op, _, _) => "binop", [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/jit.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | ASTNode::Call(fun, _) => "call1", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmts` [INFO] [stdout] --> src/jit.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | ASTNode::Stmts(stmts) => "stmts", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stmts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/jit.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | for (i, local_name) in fun.locals.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_type` [INFO] [stdout] --> src/jit.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let ptr_type = self.module.target_config().pointer_type(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/jit.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | ASTNode::Call(name, arg) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | for (block, x, y) in &mut self.load { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/block_lang.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | for (block, x, y) in &mut self.load { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | let (block, xo, yo) = self.ref_at_origin(x, y)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | if let Some((block, xo, yo, _row)) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/block_lang.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | for ((x, y), block) in &self.blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/block_lang.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | for ((x, y), block) in &self.blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/block_lang.rs:1006:37 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Some(row) = uncon_out_row { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xo` [INFO] [stdout] --> src/block_lang.rs:1284:25 [INFO] [stdout] | [INFO] [stdout] 1284 | let (mut block, xo, yo) = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/block_lang.rs:1456:17 [INFO] [stdout] | [INFO] [stdout] 1456 | let mut res = Ok(()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jit.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut builder = [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:980:13 [INFO] [stdout] | [INFO] [stdout] 980 | let mut main_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1002:25 [INFO] [stdout] | [INFO] [stdout] 1002 | let mut area_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1007:33 [INFO] [stdout] | [INFO] [stdout] 1007 | ... let mut result_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1150:13 [INFO] [stdout] | [INFO] [stdout] 1150 | let mut parents_work_list = &mut self.area_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1151:13 [INFO] [stdout] | [INFO] [stdout] 1151 | let mut size_work_list = &mut self.size_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1234:13 [INFO] [stdout] | [INFO] [stdout] 1234 | let mut area_work_list = &mut self.area_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1368:30 [INFO] [stdout] | [INFO] [stdout] 1368 | id2: usize, x2: i64, mut y2: i64 [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/jit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | params: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locals` [INFO] [stdout] --> src/jit.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | locals: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ast` [INFO] [stdout] --> src/jit.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ast: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wblockdsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/jit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(ast: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `builder_context` [INFO] [stdout] --> src/jit.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | builder_context: FunctionBuilderContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ctx` [INFO] [stdout] --> src/jit.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | ctx: codegen::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_ctx` [INFO] [stdout] --> src/jit.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | data_ctx: DataContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module` [INFO] [stdout] --> src/jit.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | module: JITModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/jit.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn compile(&mut self, prog: ASTFun) -> Result<*const u8, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/jit.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | fn translate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FunctionTranslator` [INFO] [stdout] --> src/jit.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct FunctionTranslator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/jit.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn new(builder: FunctionBuilder<'a>, module: &'a mut JITModule) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_functions` [INFO] [stdout] --> src/jit.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn register_functions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `declare_variable` [INFO] [stdout] --> src/jit.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn declare_variable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/jit.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn translate(&mut self, fun: ASTFun) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/jit.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | fn compile(&mut self, ast: &Box) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area_id` [INFO] [stdout] --> src/block_lang.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | area_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sources` [INFO] [stdout] --> src/block_lang.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | sources: HashSet<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sinks` [INFO] [stdout] --> src/block_lang.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | sinks: HashSet<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wlambda::*` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wlambda::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/jit.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jit::*` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use jit::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/gentree.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tree = code.generate_tree::("zero").unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/gentree.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | / code.borrow_mut().instanciate_at( [INFO] [stdout] 243 | | *id, *x, *y, name, lbl.map(|s| s.to_string())); [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/gentree.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | / code.instanciate_at( [INFO] [stdout] 252 | | *id, *x, *y, name, lbl.map(|s| s.to_string())); [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/gentree.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | bcode.remove_at(0, 3, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | ASTNode::Lit(v) => "lit", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | ASTNode::Var(v) => "var", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/jit.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | ASTNode::Assign(v, _) => "assign", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/jit.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | ASTNode::BinOp(op, _, _) => "binop", [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/jit.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | ASTNode::Call(fun, _) => "call1", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmts` [INFO] [stdout] --> src/jit.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | ASTNode::Stmts(stmts) => "stmts", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stmts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/jit.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | for (i, local_name) in fun.locals.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_type` [INFO] [stdout] --> src/jit.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let ptr_type = self.module.target_config().pointer_type(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/jit.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | ASTNode::Call(name, arg) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | for (block, x, y) in &mut self.load { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/block_lang.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | for (block, x, y) in &mut self.load { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | let (block, xo, yo) = self.ref_at_origin(x, y)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/block_lang.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | if let Some((block, xo, yo, _row)) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/block_lang.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | for ((x, y), block) in &self.blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/block_lang.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | for ((x, y), block) in &self.blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/block_lang.rs:1006:37 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Some(row) = uncon_out_row { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xo` [INFO] [stdout] --> src/block_lang.rs:1284:25 [INFO] [stdout] | [INFO] [stdout] 1284 | let (mut block, xo, yo) = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/block_lang.rs:1456:17 [INFO] [stdout] | [INFO] [stdout] 1456 | let mut res = Ok(()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jit.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut builder = [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:980:13 [INFO] [stdout] | [INFO] [stdout] 980 | let mut main_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1002:25 [INFO] [stdout] | [INFO] [stdout] 1002 | let mut area_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1007:33 [INFO] [stdout] | [INFO] [stdout] 1007 | ... let mut result_node = Node::from(0, "", ""); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1150:13 [INFO] [stdout] | [INFO] [stdout] 1150 | let mut parents_work_list = &mut self.area_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1151:13 [INFO] [stdout] | [INFO] [stdout] 1151 | let mut size_work_list = &mut self.size_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1234:13 [INFO] [stdout] | [INFO] [stdout] 1234 | let mut area_work_list = &mut self.area_work_dq; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block_lang.rs:1368:30 [INFO] [stdout] | [INFO] [stdout] 1368 | id2: usize, x2: i64, mut y2: i64 [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/jit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | params: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locals` [INFO] [stdout] --> src/jit.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | locals: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ast` [INFO] [stdout] --> src/jit.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ast: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/jit.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/jit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(ast: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `builder_context` [INFO] [stdout] --> src/jit.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | builder_context: FunctionBuilderContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ctx` [INFO] [stdout] --> src/jit.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | ctx: codegen::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_ctx` [INFO] [stdout] --> src/jit.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | data_ctx: DataContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module` [INFO] [stdout] --> src/jit.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | module: JITModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/jit.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn compile(&mut self, prog: ASTFun) -> Result<*const u8, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/jit.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | fn translate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FunctionTranslator` [INFO] [stdout] --> src/jit.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct FunctionTranslator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/jit.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn new(builder: FunctionBuilder<'a>, module: &'a mut JITModule) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_functions` [INFO] [stdout] --> src/jit.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn register_functions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `declare_variable` [INFO] [stdout] --> src/jit.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn declare_variable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/jit.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn translate(&mut self, fun: ASTFun) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/jit.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | fn compile(&mut self, ast: &Box) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area_id` [INFO] [stdout] --> src/block_lang.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | area_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sources` [INFO] [stdout] --> src/block_lang.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | sources: HashSet<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sinks` [INFO] [stdout] --> src/block_lang.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | sinks: HashSet<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_lang.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4m 14s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/wblockdsp-ea913523dcc76d5d) [INFO] [stderr] Executable tests/gentree.rs (/opt/rustwide/target/debug/deps/gentree-0296fa0b0402e970) [INFO] running `Command { std: "docker" "inspect" "fd38ed9c5e7c450e2b567be701e1b1255ca0d0cc42b35ab74bffe03c37a26bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd38ed9c5e7c450e2b567be701e1b1255ca0d0cc42b35ab74bffe03c37a26bf3", kill_on_drop: false }` [INFO] [stdout] fd38ed9c5e7c450e2b567be701e1b1255ca0d0cc42b35ab74bffe03c37a26bf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f701a31da60efc40144e6b3b6155338aa27cf0728ff1e71a13bd3979eda1a7b6 [INFO] running `Command { std: "docker" "start" "-a" "f701a31da60efc40144e6b3b6155338aa27cf0728ff1e71a13bd3979eda1a7b6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `wlambda::*` [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use wlambda::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::slice` [INFO] [stderr] --> src/jit.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::slice; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jit::*` [INFO] [stderr] --> src/lib.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use jit::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::mem` [INFO] [stderr] --> src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use core::mem; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/jit.rs:76:26 [INFO] [stderr] | [INFO] [stderr] 76 | ASTNode::Lit(v) => "lit", [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/jit.rs:77:26 [INFO] [stderr] | [INFO] [stderr] 77 | ASTNode::Var(v) => "var", [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/jit.rs:78:29 [INFO] [stderr] | [INFO] [stderr] 78 | ASTNode::Assign(v, _) => "assign", [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/jit.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | ASTNode::BinOp(op, _, _) => "binop", [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fun` [INFO] [stderr] --> src/jit.rs:81:27 [INFO] [stderr] | [INFO] [stderr] 81 | ASTNode::Call(fun, _) => "call1", [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stmts` [INFO] [stderr] --> src/jit.rs:82:28 [INFO] [stderr] | [INFO] [stderr] 82 | ASTNode::Stmts(stmts) => "stmts", [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stmts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/jit.rs:325:14 [INFO] [stderr] | [INFO] [stderr] 325 | for (i, local_name) in fun.locals.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ptr_type` [INFO] [stderr] --> src/jit.rs:343:13 [INFO] [stderr] | [INFO] [stderr] 343 | let ptr_type = self.module.target_config().pointer_type(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/jit.rs:379:27 [INFO] [stderr] | [INFO] [stderr] 379 | ASTNode::Call(name, arg) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/block_lang.rs:318:14 [INFO] [stderr] | [INFO] [stderr] 318 | for (block, x, y) in &mut self.load { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/block_lang.rs:318:24 [INFO] [stderr] | [INFO] [stderr] 318 | for (block, x, y) in &mut self.load { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/block_lang.rs:465:14 [INFO] [stderr] | [INFO] [stderr] 465 | let (block, xo, yo) = self.ref_at_origin(x, y)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/block_lang.rs:518:30 [INFO] [stderr] | [INFO] [stderr] 518 | if let Some((block, xo, yo, _row)) = [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/block_lang.rs:685:15 [INFO] [stderr] | [INFO] [stderr] 685 | for ((x, y), block) in &self.blocks { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/block_lang.rs:685:18 [INFO] [stderr] | [INFO] [stderr] 685 | for ((x, y), block) in &self.blocks { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `row` [INFO] [stderr] --> src/block_lang.rs:1006:37 [INFO] [stderr] | [INFO] [stderr] 1006 | if let Some(row) = uncon_out_row { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `xo` [INFO] [stderr] --> src/block_lang.rs:1284:25 [INFO] [stderr] | [INFO] [stderr] 1284 | let (mut block, xo, yo) = [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_xo` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `res` is never read [INFO] [stderr] --> src/block_lang.rs:1456:17 [INFO] [stderr] | [INFO] [stderr] 1456 | let mut res = Ok(()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/jit.rs:214:13 [INFO] [stderr] | [INFO] [stderr] 214 | let mut builder = [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/block_lang.rs:980:13 [INFO] [stderr] | [INFO] [stderr] 980 | let mut main_node = Node::from(0, "", ""); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/block_lang.rs:1002:25 [INFO] [stderr] | [INFO] [stderr] 1002 | let mut area_node = Node::from(0, "", ""); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/block_lang.rs:1007:33 [INFO] [stderr] | [INFO] [stderr] 1007 | ... let mut result_node = Node::from(0, "", ""); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/block_lang.rs:1150:13 [INFO] [stderr] | [INFO] [stderr] 1150 | let mut parents_work_list = &mut self.area_work_dq; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/block_lang.rs:1151:13 [INFO] [stderr] | [INFO] [stderr] 1151 | let mut size_work_list = &mut self.size_work_dq; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/block_lang.rs:1234:13 [INFO] [stderr] | [INFO] [stderr] 1234 | let mut area_work_list = &mut self.area_work_dq; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/block_lang.rs:1368:30 [INFO] [stderr] | [INFO] [stderr] 1368 | id2: usize, x2: i64, mut y2: i64 [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `params` [INFO] [stderr] --> src/jit.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | params: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jit.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `locals` [INFO] [stderr] --> src/jit.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | locals: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jit.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ast` [INFO] [stderr] --> src/jit.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | ast: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ASTFun` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jit.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/jit.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn new(ast: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `builder_context` [INFO] [stderr] --> src/jit.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | builder_context: FunctionBuilderContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ctx` [INFO] [stderr] --> src/jit.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | ctx: codegen::Context, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data_ctx` [INFO] [stderr] --> src/jit.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | data_ctx: DataContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `module` [INFO] [stderr] --> src/jit.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | module: JITModule, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `compile` [INFO] [stderr] --> src/jit.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn compile(&mut self, prog: ASTFun) -> Result<*const u8, String> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `translate` [INFO] [stderr] --> src/jit.rs:210:8 [INFO] [stderr] | [INFO] [stderr] 210 | fn translate( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FunctionTranslator` [INFO] [stderr] --> src/jit.rs:245:8 [INFO] [stderr] | [INFO] [stderr] 245 | struct FunctionTranslator<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/jit.rs:258:12 [INFO] [stderr] | [INFO] [stderr] 258 | pub fn new(builder: FunctionBuilder<'a>, module: &'a mut JITModule) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `register_functions` [INFO] [stderr] --> src/jit.rs:268:12 [INFO] [stderr] | [INFO] [stderr] 268 | pub fn register_functions(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `declare_variable` [INFO] [stderr] --> src/jit.rs:285:8 [INFO] [stderr] | [INFO] [stderr] 285 | fn declare_variable( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `translate` [INFO] [stderr] --> src/jit.rs:302:8 [INFO] [stderr] | [INFO] [stderr] 302 | fn translate(&mut self, fun: ASTFun) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `compile` [INFO] [stderr] --> src/jit.rs:342:8 [INFO] [stderr] | [INFO] [stderr] 342 | fn compile(&mut self, ast: &Box) -> Value { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `area_id` [INFO] [stderr] --> src/block_lang.rs:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | area_id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/block_lang.rs:216:10 [INFO] [stderr] | [INFO] [stderr] 216 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sources` [INFO] [stderr] --> src/block_lang.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 223 | sources: HashSet<(i64, i64)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/block_lang.rs:216:10 [INFO] [stderr] | [INFO] [stderr] 216 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sinks` [INFO] [stderr] --> src/block_lang.rs:225:5 [INFO] [stderr] | [INFO] [stderr] 225 | sinks: HashSet<(i64, i64)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BlockChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/block_lang.rs:216:10 [INFO] [stderr] | [INFO] [stderr] 216 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `wblockdsp` (lib) generated 49 warnings [INFO] [stderr] warning: `wblockdsp` (lib test) generated 49 warnings (49 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/gentree.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | let mut tree = code.generate_tree::("zero").unwrap(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/gentree.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | / code.borrow_mut().instanciate_at( [INFO] [stderr] 243 | | *id, *x, *y, name, lbl.map(|s| s.to_string())); [INFO] [stderr] | |___________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/gentree.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | / code.instanciate_at( [INFO] [stderr] 252 | | *id, *x, *y, name, lbl.map(|s| s.to_string())); [INFO] [stderr] | |___________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/gentree.rs:482:5 [INFO] [stderr] | [INFO] [stderr] 482 | bcode.remove_at(0, 3, 3); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `wblockdsp` (test "gentree") generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wblockdsp-ea913523dcc76d5d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/gentree.rs (/opt/rustwide/target/debug/deps/gentree-0296fa0b0402e970) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test check_clone_ids ... ok [INFO] [stdout] test check_shift_outs ... ok [INFO] [stdout] test check_simple_out ... ok [INFO] [stdout] test check_snapshot ... ok [INFO] [stdout] test check_if ... ok [INFO] [stdout] test check_named_inputs ... ok [INFO] [stdout] test check_set ... ok [INFO] [stdout] test check_unconnected ... ok [INFO] [stdout] test check_shared_ast_nodes ... ok [INFO] [stdout] test check_multi_out ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests wblockdsp [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f701a31da60efc40144e6b3b6155338aa27cf0728ff1e71a13bd3979eda1a7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f701a31da60efc40144e6b3b6155338aa27cf0728ff1e71a13bd3979eda1a7b6", kill_on_drop: false }` [INFO] [stdout] f701a31da60efc40144e6b3b6155338aa27cf0728ff1e71a13bd3979eda1a7b6