[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcao%2Fgene.rs" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gcao/gene.rs on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-110/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc23e8e7acb561b75dfe642afdf00dd162681e3a9768aefc0fe7f485a7185966 [INFO] running `Command { std: "docker" "start" "-a" "cc23e8e7acb561b75dfe642afdf00dd162681e3a9768aefc0fe7f485a7185966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc23e8e7acb561b75dfe642afdf00dd162681e3a9768aefc0fe7f485a7185966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc23e8e7acb561b75dfe642afdf00dd162681e3a9768aefc0fe7f485a7185966", kill_on_drop: false }` [INFO] [stdout] cc23e8e7acb561b75dfe642afdf00dd162681e3a9768aefc0fe7f485a7185966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bef1943ba91e709e97435018079edb72282af6df894989faff4a0101029e2b18 [INFO] running `Command { std: "docker" "start" "-a" "bef1943ba91e709e97435018079edb72282af6df894989faff4a0101029e2b18", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_isaac v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.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: field is never read: `name` [INFO] [stdout] --> src/vm/types.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `methods` [INFO] [stdout] --> src/vm/types.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | methods: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_id` [INFO] [stdout] --> src/vm/types.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | block_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/vm/types.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `registers_id` [INFO] [stdout] --> src/vm/types.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | registers_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/vm/types.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | register: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.35s [INFO] running `Command { std: "docker" "inspect" "bef1943ba91e709e97435018079edb72282af6df894989faff4a0101029e2b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef1943ba91e709e97435018079edb72282af6df894989faff4a0101029e2b18", kill_on_drop: false }` [INFO] [stdout] bef1943ba91e709e97435018079edb72282af6df894989faff4a0101029e2b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3fa5216338dbaf332bb96631a0da1a04c4cdce5edbde6c3089f2102e406f643 [INFO] running `Command { std: "docker" "start" "-a" "a3fa5216338dbaf332bb96631a0da1a04c4cdce5edbde6c3089f2102e406f643", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling same-file v1.0.5 [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: field is never read: `name` [INFO] [stdout] --> src/vm/types.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `methods` [INFO] [stdout] --> src/vm/types.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | methods: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_id` [INFO] [stdout] --> src/vm/types.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | block_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/vm/types.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `registers_id` [INFO] [stdout] --> src/vm/types.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | registers_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/vm/types.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | register: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling rayon v1.2.0 [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: field is never read: `name` [INFO] [stdout] --> src/vm/types.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `methods` [INFO] [stdout] --> src/vm/types.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | methods: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_id` [INFO] [stdout] --> src/vm/types.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | block_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/vm/types.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `registers_id` [INFO] [stdout] --> src/vm/types.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | registers_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/vm/types.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | register: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 28.08s [INFO] running `Command { std: "docker" "inspect" "a3fa5216338dbaf332bb96631a0da1a04c4cdce5edbde6c3089f2102e406f643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3fa5216338dbaf332bb96631a0da1a04c4cdce5edbde6c3089f2102e406f643", kill_on_drop: false }` [INFO] [stdout] a3fa5216338dbaf332bb96631a0da1a04c4cdce5edbde6c3089f2102e406f643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d5b0f811ba3bb3bff870920b5d70de299f73377668eb8c5b0f3b1f6300d244a [INFO] running `Command { std: "docker" "start" "-a" "8d5b0f811ba3bb3bff870920b5d70de299f73377668eb8c5b0f3b1f6300d244a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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: field is never read: `name` [INFO] [stderr] --> src/vm/types.rs:303:5 [INFO] [stderr] | [INFO] [stderr] 303 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `methods` [INFO] [stderr] --> src/vm/types.rs:304:5 [INFO] [stderr] | [INFO] [stderr] 304 | methods: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `block_id` [INFO] [stderr] --> src/vm/types.rs:309:5 [INFO] [stderr] | [INFO] [stderr] 309 | block_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `position` [INFO] [stderr] --> src/vm/types.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | position: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `registers_id` [INFO] [stderr] --> src/vm/types.rs:327:5 [INFO] [stderr] | [INFO] [stderr] 327 | registers_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `register` [INFO] [stderr] --> src/vm/types.rs:328:5 [INFO] [stderr] | [INFO] [stderr] 328 | register: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [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: `gene` (lib) generated 13 warnings [INFO] [stderr] warning: `gene` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gene-5b448f02e0134298) [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 unittests (/opt/rustwide/target/debug/deps/gene-f287f54e688369ba) [INFO] [stdout] [INFO] [stderr] Running tests/compiler2_vm_tests.rs (/opt/rustwide/target/debug/deps/compiler2_vm_tests-aaf5089e98c45ca5) [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_assignments ... ok [INFO] [stdout] test test_ifs ... ok [INFO] [stdout] test test_basic_stmts ... ok [INFO] [stdout] test test_loops ... ok [INFO] [stdout] test test_fibonacci ... ok [INFO] [stdout] test test_variables ... ok [INFO] [stdout] test test_functions ... 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] [stderr] Running tests/parser_tests.rs (/opt/rustwide/target/debug/deps/parser_tests-a06b82b76302d73f) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_read_empty_input ... ok [INFO] [stdout] test test_read_array ... ok [INFO] [stdout] test test_quote ... ok [INFO] [stdout] test test_parse_one_string ... ok [INFO] [stdout] test test_parse_stream ... ok [INFO] [stdout] test test_read_number ... ok [INFO] [stdout] test test_read_string ... ok [INFO] [stdout] test test_read_gene ... ok [INFO] [stdout] test test_read_map ... ok [INFO] [stdout] test test_read_keywords ... ok [INFO] [stdout] test test_read_symbols ... ok [INFO] [stdout] test test_skip_comment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/vm_tests.rs (/opt/rustwide/target/debug/deps/vm_tests-53cd1414afde951d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_binary_operations ... ok [INFO] [stdout] test test_basic_stmts ... ok [INFO] [stdout] test test_assignments ... ok [INFO] [stdout] test test_ifs ... ok [INFO] [stdout] test test_fibonacci ... ok [INFO] [stdout] test test_variables ... ok [INFO] [stdout] test test_loops ... ok [INFO] [stdout] test test_functions ... 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] [stderr] Running tests/wip_tests.rs (/opt/rustwide/target/debug/deps/wip_tests-7214513dcfd030e6) [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] Doc-tests gene [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" "8d5b0f811ba3bb3bff870920b5d70de299f73377668eb8c5b0f3b1f6300d244a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d5b0f811ba3bb3bff870920b5d70de299f73377668eb8c5b0f3b1f6300d244a", kill_on_drop: false }` [INFO] [stdout] 8d5b0f811ba3bb3bff870920b5d70de299f73377668eb8c5b0f3b1f6300d244a