[INFO] cloning repository https://github.com/gcao/gene.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gcao/gene.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcao%2Fgene.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcao%2Fgene.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2aafa09eda1b11f6b217713515bc1b48f83e85f7 [INFO] testing gcao/gene.rs against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcao%2Fgene.rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gcao/gene.rs on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gcao/gene.rs [INFO] finished tweaking git repo https://github.com/gcao/gene.rs [INFO] tweaked toml for git repo https://github.com/gcao/gene.rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/gcao/gene.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ego-tree v0.6.0 [INFO] [stderr] Downloaded ordered-float v1.0.1 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 005c00a0ed172b7aed0101de0939cb7b5b230b48f7177bc021d56b3a99bac80d [INFO] running `Command { std: "docker" "start" "-a" "005c00a0ed172b7aed0101de0939cb7b5b230b48f7177bc021d56b3a99bac80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005c00a0ed172b7aed0101de0939cb7b5b230b48f7177bc021d56b3a99bac80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005c00a0ed172b7aed0101de0939cb7b5b230b48f7177bc021d56b3a99bac80d", kill_on_drop: false }` [INFO] [stdout] 005c00a0ed172b7aed0101de0939cb7b5b230b48f7177bc021d56b3a99bac80d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1661d1696fd561bc1c9958a3187aad7a35713f915fb7285b1bb9611e8aba4cce [INFO] running `Command { std: "docker" "start" "-a" "1661d1696fd561bc1c9958a3187aad7a35713f915fb7285b1bb9611e8aba4cce", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ego-tree v0.6.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling gene v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler2.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn use_member(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | mem::replace(&mut (*block).instructions[cond_jump_index], Instruction::JumpIfFalse(else_start as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | mem::replace(&mut (*block).instructions[then_jump_index], Instruction::Jump(end_index as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | mem::replace(&mut (*block).instructions[jump_index], Instruction::JumpIfFalse(end_index as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | ... mem::replace(&mut (*block).instructions[i], Instruction::JumpIfFalse(else_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 | ... mem::replace(&mut (*block).instructions[i], Instruction::Jump(end_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | mem::replace(&mut (*block).instructions[jump_pos], Instruction::JumpIfFalse(end_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.24s [INFO] running `Command { std: "docker" "inspect" "1661d1696fd561bc1c9958a3187aad7a35713f915fb7285b1bb9611e8aba4cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1661d1696fd561bc1c9958a3187aad7a35713f915fb7285b1bb9611e8aba4cce", kill_on_drop: false }` [INFO] [stdout] 1661d1696fd561bc1c9958a3187aad7a35713f915fb7285b1bb9611e8aba4cce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc40588ea8d2cdcdcf737c43a8836b03b99678519ce3ce92f2eee3db15db56df [INFO] running `Command { std: "docker" "start" "-a" "bc40588ea8d2cdcdcf737c43a8836b03b99678519ce3ce92f2eee3db15db56df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler2.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn use_member(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | mem::replace(&mut (*block).instructions[cond_jump_index], Instruction::JumpIfFalse(else_start as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | mem::replace(&mut (*block).instructions[then_jump_index], Instruction::Jump(end_index as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | mem::replace(&mut (*block).instructions[jump_index], Instruction::JumpIfFalse(end_index as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | ... mem::replace(&mut (*block).instructions[i], Instruction::JumpIfFalse(else_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 | ... mem::replace(&mut (*block).instructions[i], Instruction::Jump(end_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | mem::replace(&mut (*block).instructions[jump_pos], Instruction::JumpIfFalse(end_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling gene v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler2.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn use_member(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | mem::replace(&mut (*block).instructions[cond_jump_index], Instruction::JumpIfFalse(else_start as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | mem::replace(&mut (*block).instructions[then_jump_index], Instruction::Jump(end_index as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | mem::replace(&mut (*block).instructions[jump_index], Instruction::JumpIfFalse(end_index as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | ... mem::replace(&mut (*block).instructions[i], Instruction::JumpIfFalse(else_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 | ... mem::replace(&mut (*block).instructions[i], Instruction::Jump(end_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler2.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | mem::replace(&mut (*block).instructions[jump_pos], Instruction::JumpIfFalse(end_pos as i16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 38.51s [INFO] running `Command { std: "docker" "inspect" "bc40588ea8d2cdcdcf737c43a8836b03b99678519ce3ce92f2eee3db15db56df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc40588ea8d2cdcdcf737c43a8836b03b99678519ce3ce92f2eee3db15db56df", kill_on_drop: false }` [INFO] [stdout] bc40588ea8d2cdcdcf737c43a8836b03b99678519ce3ce92f2eee3db15db56df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 70cf9e88bad06463103e3f3cea5ad8412dd8d760e17dad7295ffb294ff660fdd [INFO] running `Command { std: "docker" "start" "-a" "70cf9e88bad06463103e3f3cea5ad8412dd8d760e17dad7295ffb294ff660fdd", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/compiler2.rs:494:34 [INFO] [stderr] | [INFO] [stderr] 494 | pub fn use_member(&mut self, name: &str) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler.rs:295:9 [INFO] [stderr] | [INFO] [stderr] 295 | mem::replace(&mut (*block).instructions[cond_jump_index], Instruction::JumpIfFalse(else_start as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler.rs:296:9 [INFO] [stderr] | [INFO] [stderr] 296 | mem::replace(&mut (*block).instructions[then_jump_index], Instruction::Jump(end_index as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler.rs:316:9 [INFO] [stderr] | [INFO] [stderr] 316 | mem::replace(&mut (*block).instructions[jump_index], Instruction::JumpIfFalse(end_index as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler2.rs:376:29 [INFO] [stderr] | [INFO] [stderr] 376 | ... mem::replace(&mut (*block).instructions[i], Instruction::JumpIfFalse(else_pos as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler2.rs:379:29 [INFO] [stderr] | [INFO] [stderr] 379 | ... mem::replace(&mut (*block).instructions[i], Instruction::Jump(end_pos as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler2.rs:455:17 [INFO] [stderr] | [INFO] [stderr] 455 | mem::replace(&mut (*block).instructions[jump_pos], Instruction::JumpIfFalse(end_pos as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/compiler2.rs:494:34 [INFO] [stderr] | [INFO] [stderr] 494 | pub fn use_member(&mut self, name: &str) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler.rs:295:9 [INFO] [stderr] | [INFO] [stderr] 295 | mem::replace(&mut (*block).instructions[cond_jump_index], Instruction::JumpIfFalse(else_start as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler.rs:296:9 [INFO] [stderr] | [INFO] [stderr] 296 | mem::replace(&mut (*block).instructions[then_jump_index], Instruction::Jump(end_index as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler.rs:316:9 [INFO] [stderr] | [INFO] [stderr] 316 | mem::replace(&mut (*block).instructions[jump_index], Instruction::JumpIfFalse(end_index as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler2.rs:376:29 [INFO] [stderr] | [INFO] [stderr] 376 | ... mem::replace(&mut (*block).instructions[i], Instruction::JumpIfFalse(else_pos as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler2.rs:379:29 [INFO] [stderr] | [INFO] [stderr] 379 | ... mem::replace(&mut (*block).instructions[i], Instruction::Jump(end_pos as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/compiler2.rs:455:17 [INFO] [stderr] | [INFO] [stderr] 455 | mem::replace(&mut (*block).instructions[jump_pos], Instruction::JumpIfFalse(end_pos as i16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gene-cf953c4f3b51148d) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gene-c0bed1cbf267bc37) [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] [stdout] [INFO] [stderr] Running tests/compiler2_vm_tests.rs (/opt/rustwide/target/debug/deps/compiler2_vm_tests-d17bcf83644838d4) [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] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_binary_operations ... ok [INFO] [stdout] test test_loops ... ok [INFO] [stdout] test test_variables ... ok [INFO] [stdout] test test_ifs ... ok [INFO] [stdout] test test_fibonacci ... ok [INFO] [stdout] test test_basic_stmts ... ok [INFO] [stdout] test test_functions ... ok [INFO] [stdout] test test_assignments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/parser_tests.rs (/opt/rustwide/target/debug/deps/parser_tests-a7dd38d87ecc008c) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_read_number ... ok [INFO] [stdout] test test_skip_comment ... ok [INFO] [stdout] test test_read_string ... ok [INFO] [stdout] test test_read_symbols ... ok [INFO] [stdout] test test_read_keywords ... ok [INFO] [stdout] test test_parse_stream ... ok [INFO] [stdout] test test_read_gene ... ok [INFO] [stdout] test test_read_array ... ok [INFO] [stdout] test test_quote ... ok [INFO] [stderr] Running tests/vm_tests.rs (/opt/rustwide/target/debug/deps/vm_tests-96a94e6923ea781e) [INFO] [stdout] test test_read_empty_input ... ok [INFO] [stdout] test test_read_map ... ok [INFO] [stdout] test test_parse_one_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_variables ... ok [INFO] [stdout] test test_loops ... ok [INFO] [stdout] test test_ifs ... ok [INFO] [stdout] test test_functions ... ok [INFO] [stdout] test test_binary_operations ... ok [INFO] [stderr] Running tests/wip_tests.rs (/opt/rustwide/target/debug/deps/wip_tests-bfdb632b0c3871b0) [INFO] [stdout] test test_basic_stmts ... ok [INFO] [stderr] Doc-tests gene [INFO] [stdout] test test_assignments ... ok [INFO] [stdout] test test_fibonacci ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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] [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" "70cf9e88bad06463103e3f3cea5ad8412dd8d760e17dad7295ffb294ff660fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cf9e88bad06463103e3f3cea5ad8412dd8d760e17dad7295ffb294ff660fdd", kill_on_drop: false }` [INFO] [stdout] 70cf9e88bad06463103e3f3cea5ad8412dd8d760e17dad7295ffb294ff660fdd