[INFO] cloning repository https://github.com/ijks/piet-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ijks/piet-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fijks%2Fpiet-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fijks%2Fpiet-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb75b4f4104d246adf0bac2396f275f4422d1eeb [INFO] checking ijks/piet-rs against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fijks%2Fpiet-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ijks/piet-rs on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ijks/piet-rs [INFO] finished tweaking git repo https://github.com/ijks/piet-rs [INFO] tweaked toml for git repo https://github.com/ijks/piet-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ijks/piet-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.4.3 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded atty v0.2.3 [INFO] [stderr] Downloaded vec_map v0.8.0 [INFO] [stderr] Downloaded const_fn v0.4.3 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded cc v1.0.2 [INFO] [stderr] Downloaded rayon-core v1.9.0 [INFO] [stderr] Downloaded syn v1.0.51 [INFO] [stderr] Downloaded tiff v0.6.0 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded rayon v1.5.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded image v0.23.12 [INFO] [stderr] Downloaded structopt-derive v0.4.13 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.1 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded bitflags v1.0.0 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded weezl v0.1.3 [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded unicode-width v0.1.4 [INFO] [stderr] Downloaded structopt v0.3.20 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded backtrace v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44c7eb4661e73ca8c66c72f037a56620024e32c1a0f4b642e321a2b7dbb495cd [INFO] running `Command { std: "docker" "start" "-a" "44c7eb4661e73ca8c66c72f037a56620024e32c1a0f4b642e321a2b7dbb495cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44c7eb4661e73ca8c66c72f037a56620024e32c1a0f4b642e321a2b7dbb495cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c7eb4661e73ca8c66c72f037a56620024e32c1a0f4b642e321a2b7dbb495cd", kill_on_drop: false }` [INFO] [stdout] 44c7eb4661e73ca8c66c72f037a56620024e32c1a0f4b642e321a2b7dbb495cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3852cdf43cdfb77cb3b69c59fe0f0a93c438d141196a9db9e45ab47f89e725bf [INFO] running `Command { std: "docker" "start" "-a" "3852cdf43cdfb77cb3b69c59fe0f0a93c438d141196a9db9e45ab47f89e725bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cc v1.0.2 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking bitflags v1.0.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking backtrace v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking piet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Up`, `Down`, and `Left` are never constructed [INFO] [stdout] --> src/interpreter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum DirectionPointer { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 11 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | Right, [INFO] [stdout] 13 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_clockwise` and `rotate_counterclockwise` are never used [INFO] [stdout] --> src/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DirectionPointer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> src/interpreter.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum CodelChooser { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 43 | Left, [INFO] [stdout] 44 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodelChooser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> src/interpreter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl CodelChooser { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 48 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program`, `dp`, `cc`, `stack`, `position`, and `last_block` are never read [INFO] [stdout] --> src/interpreter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Interpreter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 58 | program: Program, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | dp: DirectionPointer, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | cc: CodelChooser, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | stack: Stack, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | position: Coords, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | last_block: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_block`, `next_coords`, `execute_command`, `pointer`, and `switch` are never used [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn current_block(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn next_coords(&self) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn switch(&mut self, times: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index_to_coords` is never used [INFO] [stdout] --> src/program.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn index_to_coords(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `codel_size` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | codel_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, and `Left` are never constructed [INFO] [stdout] --> src/interpreter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum DirectionPointer { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 11 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | Right, [INFO] [stdout] 13 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_clockwise` and `rotate_counterclockwise` are never used [INFO] [stdout] --> src/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DirectionPointer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> src/interpreter.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum CodelChooser { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 43 | Left, [INFO] [stdout] 44 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodelChooser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> src/interpreter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl CodelChooser { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 48 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program`, `dp`, `cc`, `stack`, `position`, and `last_block` are never read [INFO] [stdout] --> src/interpreter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Interpreter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 58 | program: Program, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | dp: DirectionPointer, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | cc: CodelChooser, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | stack: Stack, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | position: Coords, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | last_block: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_block`, `next_coords`, `execute_command`, `pointer`, and `switch` are never used [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn current_block(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn next_coords(&self) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn switch(&mut self, times: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `codel_size` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | codel_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | interpreter.run(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = interpreter.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | interpreter.run(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = interpreter.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.47s [INFO] running `Command { std: "docker" "inspect" "3852cdf43cdfb77cb3b69c59fe0f0a93c438d141196a9db9e45ab47f89e725bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3852cdf43cdfb77cb3b69c59fe0f0a93c438d141196a9db9e45ab47f89e725bf", kill_on_drop: false }` [INFO] [stdout] 3852cdf43cdfb77cb3b69c59fe0f0a93c438d141196a9db9e45ab47f89e725bf [INFO] checking ijks/piet-rs against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fijks%2Fpiet-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ijks/piet-rs on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ijks/piet-rs [INFO] finished tweaking git repo https://github.com/ijks/piet-rs [INFO] tweaked toml for git repo https://github.com/ijks/piet-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ijks/piet-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d01475e361376a9fd145e603ac1b2c1a3d31914fbc78f0e3edbf9ac35651856d [INFO] running `Command { std: "docker" "start" "-a" "d01475e361376a9fd145e603ac1b2c1a3d31914fbc78f0e3edbf9ac35651856d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d01475e361376a9fd145e603ac1b2c1a3d31914fbc78f0e3edbf9ac35651856d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01475e361376a9fd145e603ac1b2c1a3d31914fbc78f0e3edbf9ac35651856d", kill_on_drop: false }` [INFO] [stdout] d01475e361376a9fd145e603ac1b2c1a3d31914fbc78f0e3edbf9ac35651856d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunexpected_cfgs" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] 260014e9a1686c0a6cab6496f7b36828ed7dea251ae8ae13e787d48438b534bb [INFO] running `Command { std: "docker" "start" "-a" "260014e9a1686c0a6cab6496f7b36828ed7dea251ae8ae13e787d48438b534bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling cc v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking bitflags v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking backtrace v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking piet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> src/program.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, and `Left` are never constructed [INFO] [stdout] --> src/interpreter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum DirectionPointer { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 11 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | Right, [INFO] [stdout] 13 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_clockwise` and `rotate_counterclockwise` are never used [INFO] [stdout] --> src/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DirectionPointer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> src/interpreter.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum CodelChooser { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 43 | Left, [INFO] [stdout] 44 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodelChooser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> src/interpreter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl CodelChooser { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 48 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program`, `dp`, `cc`, `stack`, `position`, and `last_block` are never read [INFO] [stdout] --> src/interpreter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Interpreter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 58 | program: Program, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | dp: DirectionPointer, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | cc: CodelChooser, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | stack: Stack, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | position: Coords, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | last_block: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_block`, `next_coords`, `execute_command`, `pointer`, and `switch` are never used [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn current_block(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn next_coords(&self) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn switch(&mut self, times: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index_to_coords` is never used [INFO] [stdout] --> src/program.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn index_to_coords(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, and `Left` are never constructed [INFO] [stdout] --> src/interpreter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum DirectionPointer { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 11 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | Right, [INFO] [stdout] 13 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_clockwise` and `rotate_counterclockwise` are never used [INFO] [stdout] --> src/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DirectionPointer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> src/interpreter.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum CodelChooser { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 43 | Left, [INFO] [stdout] 44 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodelChooser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> src/interpreter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl CodelChooser { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 48 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program`, `dp`, `cc`, `stack`, `position`, and `last_block` are never read [INFO] [stdout] --> src/interpreter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Interpreter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 58 | program: Program, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | dp: DirectionPointer, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | cc: CodelChooser, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | stack: Stack, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | position: Coords, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | last_block: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_block`, `next_coords`, `execute_command`, `pointer`, and `switch` are never used [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn current_block(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn next_coords(&self) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn switch(&mut self, times: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `piet` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `codel_size` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | codel_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `codel_size` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | codel_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | interpreter.run(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = interpreter.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | interpreter.run(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = interpreter.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "260014e9a1686c0a6cab6496f7b36828ed7dea251ae8ae13e787d48438b534bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260014e9a1686c0a6cab6496f7b36828ed7dea251ae8ae13e787d48438b534bb", kill_on_drop: false }` [INFO] [stdout] 260014e9a1686c0a6cab6496f7b36828ed7dea251ae8ae13e787d48438b534bb