[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] testing ijks/piet-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fijks%2Fpiet-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ijks/piet-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/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-10/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7a8dcbfb3c9c0e99e7aa0d514fbe715eee67bac2cc771845f71abd00ab706a6 [INFO] running `Command { std: "docker" "start" "-a" "c7a8dcbfb3c9c0e99e7aa0d514fbe715eee67bac2cc771845f71abd00ab706a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7a8dcbfb3c9c0e99e7aa0d514fbe715eee67bac2cc771845f71abd00ab706a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a8dcbfb3c9c0e99e7aa0d514fbe715eee67bac2cc771845f71abd00ab706a6", kill_on_drop: false }` [INFO] [stdout] c7a8dcbfb3c9c0e99e7aa0d514fbe715eee67bac2cc771845f71abd00ab706a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 95fbbb263f9e63a514ec49096b5aedc4db4c6b160fee4e97869c245887c21370 [INFO] running `Command { std: "docker" "start" "-a" "95fbbb263f9e63a514ec49096b5aedc4db4c6b160fee4e97869c245887c21370", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling cc v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.0 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.3 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling piet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/interpreter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/interpreter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Down, [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] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/interpreter.rs:14:5 [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] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_clockwise` [INFO] [stdout] --> src/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_counterclockwise` [INFO] [stdout] --> src/interpreter.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/interpreter.rs:44:5 [INFO] [stdout] | [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] --> src/interpreter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch` [INFO] [stdout] --> src/interpreter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `program` [INFO] [stdout] --> src/interpreter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | program: Program, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dp` [INFO] [stdout] --> src/interpreter.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | dp: DirectionPointer, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cc` [INFO] [stdout] --> src/interpreter.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | cc: CodelChooser, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/interpreter.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | stack: Stack, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/interpreter.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | position: Coords, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_block` [INFO] [stdout] --> src/interpreter.rs:63:5 [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_block` [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn current_block(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_coords` [INFO] [stdout] --> src/interpreter.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn next_coords(&self) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `x_key` [INFO] [stdout] --> src/interpreter.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn x_key(&(x, _): &Coords) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `y_key` [INFO] [stdout] --> src/interpreter.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | fn y_key(&(_, y): &Coords) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_command` [INFO] [stdout] --> src/interpreter.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pointer` [INFO] [stdout] --> src/interpreter.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch` [INFO] [stdout] --> src/interpreter.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn switch(&mut self, times: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index_to_coords` [INFO] [stdout] --> src/program.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn index_to_coords(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codel_size` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | codel_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "95fbbb263f9e63a514ec49096b5aedc4db4c6b160fee4e97869c245887c21370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95fbbb263f9e63a514ec49096b5aedc4db4c6b160fee4e97869c245887c21370", kill_on_drop: false }` [INFO] [stdout] 95fbbb263f9e63a514ec49096b5aedc4db4c6b160fee4e97869c245887c21370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4ebb490ec6eb65b10bf0b131f49943ecda6143ee5c40976111c27d6a6b23b59 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4ebb490ec6eb65b10bf0b131f49943ecda6143ee5c40976111c27d6a6b23b59", kill_on_drop: false }` [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/interpreter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/interpreter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Down, [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] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/interpreter.rs:14:5 [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] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_clockwise` [INFO] [stdout] --> src/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_counterclockwise` [INFO] [stdout] --> src/interpreter.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/interpreter.rs:44:5 [INFO] [stdout] | [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] --> src/interpreter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch` [INFO] [stdout] --> src/interpreter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `program` [INFO] [stdout] --> src/interpreter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | program: Program, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dp` [INFO] [stdout] --> src/interpreter.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | dp: DirectionPointer, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling piet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `cc` [INFO] [stdout] --> src/interpreter.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | cc: CodelChooser, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/interpreter.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | stack: Stack, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/interpreter.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | position: Coords, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_block` [INFO] [stdout] --> src/interpreter.rs:63:5 [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_block` [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn current_block(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_coords` [INFO] [stdout] --> src/interpreter.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn next_coords(&self) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `x_key` [INFO] [stdout] --> src/interpreter.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn x_key(&(x, _): &Coords) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `y_key` [INFO] [stdout] --> src/interpreter.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | fn y_key(&(_, y): &Coords) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_command` [INFO] [stdout] --> src/interpreter.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pointer` [INFO] [stdout] --> src/interpreter.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch` [INFO] [stdout] --> src/interpreter.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn switch(&mut self, times: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index_to_coords` [INFO] [stdout] --> src/program.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn index_to_coords(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codel_size` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | codel_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/interpreter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/interpreter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Down, [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] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/interpreter.rs:14:5 [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] --> src/interpreter.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_clockwise` [INFO] [stdout] --> src/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_counterclockwise` [INFO] [stdout] --> src/interpreter.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/interpreter.rs:44:5 [INFO] [stdout] | [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] --> src/interpreter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch` [INFO] [stdout] --> src/interpreter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `program` [INFO] [stdout] --> src/interpreter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | program: Program, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dp` [INFO] [stdout] --> src/interpreter.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | dp: DirectionPointer, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cc` [INFO] [stdout] --> src/interpreter.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | cc: CodelChooser, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/interpreter.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | stack: Stack, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/interpreter.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | position: Coords, [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_block` [INFO] [stdout] --> src/interpreter.rs:63:5 [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] --> src/interpreter.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_block` [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn current_block(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_coords` [INFO] [stdout] --> src/interpreter.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn next_coords(&self) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `x_key` [INFO] [stdout] --> src/interpreter.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn x_key(&(x, _): &Coords) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `y_key` [INFO] [stdout] --> src/interpreter.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | fn y_key(&(_, y): &Coords) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_command` [INFO] [stdout] --> src/interpreter.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pointer` [INFO] [stdout] --> src/interpreter.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch` [INFO] [stdout] --> src/interpreter.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn switch(&mut self, times: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.88s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/piet-c27d67da555e0762) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/piet-b52328eecac24abd) [INFO] running `Command { std: "docker" "inspect" "b4ebb490ec6eb65b10bf0b131f49943ecda6143ee5c40976111c27d6a6b23b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ebb490ec6eb65b10bf0b131f49943ecda6143ee5c40976111c27d6a6b23b59", kill_on_drop: false }` [INFO] [stdout] b4ebb490ec6eb65b10bf0b131f49943ecda6143ee5c40976111c27d6a6b23b59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 997857befcd245b141e26b59bc51bc6585e6d72403260676e48c92aa8fbf0c70 [INFO] running `Command { std: "docker" "start" "-a" "997857befcd245b141e26b59bc51bc6585e6d72403260676e48c92aa8fbf0c70", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `Up` [INFO] [stderr] --> src/interpreter.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Up, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Down` [INFO] [stderr] --> src/interpreter.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Down, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Left` [INFO] [stderr] --> src/interpreter.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Left, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rotate_clockwise` [INFO] [stderr] --> src/interpreter.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rotate_counterclockwise` [INFO] [stderr] --> src/interpreter.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Right` [INFO] [stderr] --> src/interpreter.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CodelChooser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `switch` [INFO] [stderr] --> src/interpreter.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn switch(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `program` [INFO] [stderr] --> src/interpreter.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | program: Program, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dp` [INFO] [stderr] --> src/interpreter.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | dp: DirectionPointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cc` [INFO] [stderr] --> src/interpreter.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | cc: CodelChooser, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stack` [INFO] [stderr] --> src/interpreter.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | stack: Stack, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `position` [INFO] [stderr] --> src/interpreter.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | position: Coords, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_block` [INFO] [stderr] --> src/interpreter.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | last_block: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/interpreter.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `current_block` [INFO] [stderr] --> src/interpreter.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 90 | fn current_block(&self) -> HashSet { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next_coords` [INFO] [stderr] --> src/interpreter.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | fn next_coords(&self) -> Coords { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `x_key` [INFO] [stderr] --> src/interpreter.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | fn x_key(&(x, _): &Coords) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `y_key` [INFO] [stderr] --> src/interpreter.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | fn y_key(&(_, y): &Coords) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `execute_command` [INFO] [stderr] --> src/interpreter.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pointer` [INFO] [stderr] --> src/interpreter.rs:247:8 [INFO] [stderr] | [INFO] [stderr] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `switch` [INFO] [stderr] --> src/interpreter.rs:259:8 [INFO] [stderr] | [INFO] [stderr] 259 | fn switch(&mut self, times: i64) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `index_to_coords` [INFO] [stderr] --> src/program.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | fn index_to_coords(&self, index: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `piet` (lib) generated 21 warnings [INFO] [stderr] warning: `piet` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] warning: field is never read: `codel_size` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | codel_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | interpreter.run(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `piet` (bin "piet" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/piet-c27d67da555e0762) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test color::tests::test_color_from_rgb ... ok [INFO] [stdout] test color::tests::test_lightness_shift ... ok [INFO] [stdout] test stack::tests::test_stack_peek ... ok [INFO] [stdout] test stack::tests::test_stack_fold_top ... ok [INFO] [stdout] test program::tests::test_program_index_to_coords ... ok [INFO] [stdout] test color::tests::test_hue_shift ... ok [INFO] [stdout] test stack::tests::test_stack_map_top ... ok [INFO] [stdout] test stack::tests::test_stack_pop2 ... ok [INFO] [stdout] test stack::tests::test_stack_roll ... ok [INFO] [stdout] test command::tests::test_from_transition ... ok [INFO] [stdout] test program::tests::test_program_coords_to_index ... ok [INFO] [stdout] test stack::tests::test_stack_new ... ok [INFO] [stdout] test program::tests::test_program_check_coords ... ok [INFO] [stdout] test color::tests::test_color_transition ... ok [INFO] [stdout] test program::tests::test_program_color_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/piet-b52328eecac24abd) [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 piet [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/color.rs - color::Color::transition (line 118) ... ok [INFO] [stdout] test src/stack.rs - stack::Stack::fold_top (line 34) ... ok [INFO] [stdout] test src/color.rs - color::Color::from_rgb (line 65) ... ok [INFO] [stdout] test src/stack.rs - stack::Stack::roll (line 66) ... ok [INFO] [stdout] test src/color.rs - color::Hue::shift (line 17) ... ok [INFO] [stdout] test src/color.rs - color::Lightness::shift (line 41) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "997857befcd245b141e26b59bc51bc6585e6d72403260676e48c92aa8fbf0c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997857befcd245b141e26b59bc51bc6585e6d72403260676e48c92aa8fbf0c70", kill_on_drop: false }` [INFO] [stdout] 997857befcd245b141e26b59bc51bc6585e6d72403260676e48c92aa8fbf0c70