[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#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcao%2Fgene.rs" "/workspace/builds/worker-119/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-119/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gcao/gene.rs on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-119/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" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded rand v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 183b3555dc2473d17ef613895cce3fa525b89049a4347ee6eae3a554b616c8ea [INFO] running `Command { std: "docker" "start" "-a" "183b3555dc2473d17ef613895cce3fa525b89049a4347ee6eae3a554b616c8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "183b3555dc2473d17ef613895cce3fa525b89049a4347ee6eae3a554b616c8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183b3555dc2473d17ef613895cce3fa525b89049a4347ee6eae3a554b616c8ea", kill_on_drop: false }` [INFO] [stdout] 183b3555dc2473d17ef613895cce3fa525b89049a4347ee6eae3a554b616c8ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaaa475874fd92f7f25094ddc338fff559e99b032149da47a191008be5a4e447 [INFO] running `Command { std: "docker" "start" "-a" "eaaa475874fd92f7f25094ddc338fff559e99b032149da47a191008be5a4e447", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.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: 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 1m 06s [INFO] running `Command { std: "docker" "inspect" "eaaa475874fd92f7f25094ddc338fff559e99b032149da47a191008be5a4e447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaaa475874fd92f7f25094ddc338fff559e99b032149da47a191008be5a4e447", kill_on_drop: false }` [INFO] [stdout] eaaa475874fd92f7f25094ddc338fff559e99b032149da47a191008be5a4e447 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53978f81d0ee0848e3c2bf775a6c891b7a7ceeddace4a306cc9475885ee6f91f [INFO] running `Command { std: "docker" "start" "-a" "53978f81d0ee0848e3c2bf775a6c891b7a7ceeddace4a306cc9475885ee6f91f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling bitflags v1.0.4 [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 itertools v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.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 quote v1.0.2 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [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: 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 36.14s [INFO] running `Command { std: "docker" "inspect" "53978f81d0ee0848e3c2bf775a6c891b7a7ceeddace4a306cc9475885ee6f91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53978f81d0ee0848e3c2bf775a6c891b7a7ceeddace4a306cc9475885ee6f91f", kill_on_drop: false }` [INFO] [stdout] 53978f81d0ee0848e3c2bf775a6c891b7a7ceeddace4a306cc9475885ee6f91f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68a84ecdb5f751d32e91af44a7298221a8b184bd8f5435fe8effdf2fded3c399 [INFO] running `Command { std: "docker" "start" "-a" "68a84ecdb5f751d32e91af44a7298221a8b184bd8f5435fe8effdf2fded3c399", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unused variable: `name` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/compiler2.rs:494:34 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 494 | pub fn use_member(&mut self, name: &str) -> bool { [INFO] [stdout] [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: field is never read: `name` [INFO] [stdout] [INFO] [stderr] --> src/vm/types.rs:303:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 8 tests [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 4.87s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gene-5b448f02e0134298) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gene-f287f54e688369ba) [INFO] [stderr] Running tests/compiler2_vm_tests.rs (/opt/rustwide/target/debug/deps/compiler2_vm_tests-aaf5089e98c45ca5) [INFO] [stdout] test test_functions ... ok [INFO] [stdout] test test_assignments ... ok [INFO] [stdout] test test_binary_operations ... ok [INFO] [stdout] test test_loops ... ok [INFO] [stderr] Running tests/parser_tests.rs (/opt/rustwide/target/debug/deps/parser_tests-a06b82b76302d73f) [INFO] [stdout] test test_ifs ... ok [INFO] [stdout] test test_fibonacci ... ok [INFO] [stdout] test test_basic_stmts ... ok [INFO] [stdout] test test_variables ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_parse_one_string ... ok [INFO] [stdout] test test_quote ... ok [INFO] [stdout] test test_read_gene ... ok [INFO] [stdout] test test_read_array ... ok [INFO] [stdout] test test_read_empty_input ... ok [INFO] [stdout] test test_read_keywords ... ok [INFO] [stdout] test test_parse_stream ... ok [INFO] [stdout] test test_read_string ... ok [INFO] [stdout] test test_read_map ... ok [INFO] [stdout] test test_skip_comment ... ok [INFO] [stdout] test test_read_number ... ok [INFO] [stdout] test test_read_symbols ... 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] [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_assignments ... ok [INFO] [stdout] test test_binary_operations ... ok [INFO] [stdout] test test_basic_stmts ... ok [INFO] [stdout] test test_loops ... ok [INFO] [stdout] test test_variables ... ok [INFO] [stdout] test test_fibonacci ... ok [INFO] [stderr] Running tests/wip_tests.rs (/opt/rustwide/target/debug/deps/wip_tests-7214513dcfd030e6) [INFO] [stdout] test test_functions ... ok [INFO] [stdout] test test_ifs ... 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] 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] [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" "68a84ecdb5f751d32e91af44a7298221a8b184bd8f5435fe8effdf2fded3c399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a84ecdb5f751d32e91af44a7298221a8b184bd8f5435fe8effdf2fded3c399", kill_on_drop: false }` [INFO] [stdout] 68a84ecdb5f751d32e91af44a7298221a8b184bd8f5435fe8effdf2fded3c399