[INFO] cloning repository https://github.com/SamuelSchlesinger/layered-circuits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamuelSchlesinger/layered-circuits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelSchlesinger%2Flayered-circuits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelSchlesinger%2Flayered-circuits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5108cc7064bff59c81f5a25470ec91e6cbba229f [INFO] checking SamuelSchlesinger/layered-circuits against try#0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 for pr-98456-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelSchlesinger%2Flayered-circuits" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SamuelSchlesinger/layered-circuits on toolchain 0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SamuelSchlesinger/layered-circuits [INFO] finished tweaking git repo https://github.com/SamuelSchlesinger/layered-circuits [INFO] tweaked toml for git repo https://github.com/SamuelSchlesinger/layered-circuits written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/SamuelSchlesinger/layered-circuits already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5441d37fc4a345a3f8b058746988e1f8d11b9b3e3762f7f06c5039c0457bb2f3 [INFO] running `Command { std: "docker" "start" "-a" "5441d37fc4a345a3f8b058746988e1f8d11b9b3e3762f7f06c5039c0457bb2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5441d37fc4a345a3f8b058746988e1f8d11b9b3e3762f7f06c5039c0457bb2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5441d37fc4a345a3f8b058746988e1f8d11b9b3e3762f7f06c5039c0457bb2f3", kill_on_drop: false }` [INFO] [stdout] 5441d37fc4a345a3f8b058746988e1f8d11b9b3e3762f7f06c5039c0457bb2f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 067fefc691dfdb9e24b81cd6d502927c4ec717c18b8b30e4fa78832595ba6e57 [INFO] running `Command { std: "docker" "start" "-a" "067fefc691dfdb9e24b81cd6d502927c4ec717c18b8b30e4fa78832595ba6e57", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking layered-circuits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitvec` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use bitvec::{bitvec}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lsb0` [INFO] [stdout] --> src/main.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use bitvec::order::{Lsb0}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::iter::FlatMap` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::iter::FlatMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::structs::Permutations` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use itertools::structs::Permutations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::iter::FlatMap` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::iter::FlatMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::structs::Permutations` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use itertools::structs::Permutations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 393 | for (k, v) in self.cache.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `push_gate` is never used [INFO] [stdout] --> src/main.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn push_gate(&mut self, gate: Gate) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pop_gate` is never used [INFO] [stdout] --> src/main.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn pop_gate(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `size` is never used [INFO] [stdout] --> src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn execute(&self, input: &BitVec) -> BitVec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output_size` is never read [INFO] [stdout] --> src/main.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 191 | struct BooleanFn { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 192 | input_size: usize, [INFO] [stdout] 193 | output_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `xor` is never used [INFO] [stdout] --> src/main.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | fn xor(n: usize) -> Circuit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/main.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 274 | struct BinaryStrings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 275 | length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `refines` is never used [INFO] [stdout] --> src/main.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | fn refines(&mut self, other: &BooleanFn) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pop_layer` is never used [INFO] [stdout] --> src/main.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | fn pop_layer(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 393 | for (k, v) in self.cache.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | for i in (0..cached_circuit.circuit.layers.len()).into_iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pop_gate` is never used [INFO] [stdout] --> src/main.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn pop_gate(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `size` is never used [INFO] [stdout] --> src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn execute(&self, input: &BitVec) -> BitVec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output_size` is never read [INFO] [stdout] --> src/main.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 191 | struct BooleanFn { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 192 | input_size: usize, [INFO] [stdout] 193 | output_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/main.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 274 | struct BinaryStrings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 275 | length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.28s [INFO] running `Command { std: "docker" "inspect" "067fefc691dfdb9e24b81cd6d502927c4ec717c18b8b30e4fa78832595ba6e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067fefc691dfdb9e24b81cd6d502927c4ec717c18b8b30e4fa78832595ba6e57", kill_on_drop: false }` [INFO] [stdout] 067fefc691dfdb9e24b81cd6d502927c4ec717c18b8b30e4fa78832595ba6e57