[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 try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fijks%2Fpiet-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ijks/piet-rs on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 167ebbb5ab71d449a7bb6a11319f2d5a175049996cc2b0aa25c2b0f69336f8f1 [INFO] running `Command { std: "docker" "start" "-a" "167ebbb5ab71d449a7bb6a11319f2d5a175049996cc2b0aa25c2b0f69336f8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "167ebbb5ab71d449a7bb6a11319f2d5a175049996cc2b0aa25c2b0f69336f8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "167ebbb5ab71d449a7bb6a11319f2d5a175049996cc2b0aa25c2b0f69336f8f1", kill_on_drop: false }` [INFO] [stdout] 167ebbb5ab71d449a7bb6a11319f2d5a175049996cc2b0aa25c2b0f69336f8f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 550de21c417971bcbd6b19eb8db0b38582475748011b5423c0a9b4f50758200b [INFO] running `Command { std: "docker" "start" "-a" "550de21c417971bcbd6b19eb8db0b38582475748011b5423c0a9b4f50758200b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cc v1.0.2 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [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 num_cpus v1.13.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bitflags v1.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling tiff v0.6.0 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling backtrace v0.3.3 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.92s [INFO] running `Command { std: "docker" "inspect" "550de21c417971bcbd6b19eb8db0b38582475748011b5423c0a9b4f50758200b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "550de21c417971bcbd6b19eb8db0b38582475748011b5423c0a9b4f50758200b", kill_on_drop: false }` [INFO] [stdout] 550de21c417971bcbd6b19eb8db0b38582475748011b5423c0a9b4f50758200b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e0d2525854a967ad8c71dbbc280a66448c0087d89e19c03c2b80f2a22ac0ce8 [INFO] running `Command { std: "docker" "start" "-a" "5e0d2525854a967ad8c71dbbc280a66448c0087d89e19c03c2b80f2a22ac0ce8", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "5e0d2525854a967ad8c71dbbc280a66448c0087d89e19c03c2b80f2a22ac0ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0d2525854a967ad8c71dbbc280a66448c0087d89e19c03c2b80f2a22ac0ce8", kill_on_drop: false }` [INFO] [stdout] 5e0d2525854a967ad8c71dbbc280a66448c0087d89e19c03c2b80f2a22ac0ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7bfcf173aae95502284f576b8624cf646c0b85a04d474ce415b0d66dc2e2843 [INFO] running `Command { std: "docker" "start" "-a" "b7bfcf173aae95502284f576b8624cf646c0b85a04d474ce415b0d66dc2e2843", kill_on_drop: false }` [INFO] [stderr] warning: variants `Up`, `Down`, and `Left` are never constructed [INFO] [stdout] [INFO] [stderr] --> src/interpreter.rs:11:5 [INFO] [stdout] running 15 tests [INFO] [stderr] | [INFO] [stdout] test color::tests::test_color_from_rgb ... ok [INFO] [stderr] 10 | enum DirectionPointer { [INFO] [stdout] test color::tests::test_hue_shift ... ok [INFO] [stderr] | ---------------- variants in this enum [INFO] [stdout] test color::tests::test_lightness_shift ... ok [INFO] [stderr] 11 | Up, [INFO] [stdout] test command::tests::test_from_transition ... ok [INFO] [stderr] | ^^ [INFO] [stdout] test program::tests::test_program_check_coords ... ok [INFO] [stderr] 12 | Right, [INFO] [stdout] test program::tests::test_program_color_block ... ok [INFO] [stderr] 13 | Down, [INFO] [stdout] test program::tests::test_program_coords_to_index ... ok [INFO] [stderr] | ^^^^ [INFO] [stdout] test stack::tests::test_stack_pop2 ... ok [INFO] [stderr] 14 | Left, [INFO] [stdout] test stack::tests::test_stack_map_top ... ok [INFO] [stderr] | ^^^^ [INFO] [stdout] test stack::tests::test_stack_peek ... ok [INFO] [stderr] | [INFO] [stdout] test program::tests::test_program_index_to_coords ... ok [INFO] [stderr] = note: `DirectionPointer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] test stack::tests::test_stack_roll ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] test stack::tests::test_stack_new ... ok [INFO] [stderr] [INFO] [stdout] test stack::tests::test_stack_fold_top ... ok [INFO] [stderr] warning: methods `rotate_clockwise` and `rotate_counterclockwise` are never used [INFO] [stdout] test color::tests::test_color_transition ... ok [INFO] [stderr] --> src/interpreter.rs:18:12 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 17 | impl DirectionPointer { [INFO] [stdout] [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stdout] [INFO] [stderr] 18 | pub fn rotate_clockwise(&mut self) { [INFO] [stdout] running 0 tests [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 29 | pub fn rotate_counterclockwise(&mut self) { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Right` is never constructed [INFO] [stderr] --> src/interpreter.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 42 | enum CodelChooser { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 43 | Left, [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] [INFO] [stderr] warning: method `switch` is never used [INFO] [stderr] --> src/interpreter.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl CodelChooser { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] 48 | pub fn switch(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `program`, `dp`, `cc`, `stack`, `position`, and `last_block` are never read [INFO] [stderr] --> src/interpreter.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct Interpreter { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 58 | program: Program, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 59 | dp: DirectionPointer, [INFO] [stderr] | ^^ [INFO] [stderr] 60 | cc: CodelChooser, [INFO] [stderr] | ^^ [INFO] [stderr] 61 | stack: Stack, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 62 | position: Coords, [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] [INFO] [stderr] warning: methods `current_block`, `next_coords`, `execute_command`, `pointer`, and `switch` are never used [INFO] [stderr] --> src/interpreter.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 66 | impl Interpreter { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 90 | fn current_block(&self) -> HashSet { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | fn next_coords(&self) -> Coords { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | fn execute_command(&mut self, command: &Command) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | fn pointer(&mut self, steps: i64) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 259 | fn switch(&mut self, times: i64) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `index_to_coords` is never used [INFO] [stderr] --> src/program.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 12 | impl Program { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 85 | fn index_to_coords(&self, index: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `piet` (lib) generated 7 warnings [INFO] [stderr] warning: field `codel_size` is never read [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 10 | struct Opt { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | codel_size: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 34 | let _ = interpreter.run(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `piet` (bin "piet" test) generated 2 warnings [INFO] [stderr] warning: `piet` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/piet-2a393191474d23b5) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/piet-27f7f67b5db42b9a) [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::roll (line 66) ... ok [INFO] [stdout] test src/color.rs - color::Lightness::shift (line 41) ... 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/color.rs - color::Hue::shift (line 17) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7bfcf173aae95502284f576b8624cf646c0b85a04d474ce415b0d66dc2e2843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bfcf173aae95502284f576b8624cf646c0b85a04d474ce415b0d66dc2e2843", kill_on_drop: false }` [INFO] [stdout] b7bfcf173aae95502284f576b8624cf646c0b85a04d474ce415b0d66dc2e2843