[INFO] cloning repository https://github.com/ax3l/lines-are-rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ax3l/lines-are-rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fax3l%2Flines-are-rusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fax3l%2Flines-are-rusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a21e1b6a043d2e9cac2d36979c521040359e32c0 [INFO] checking ax3l/lines-are-rusty against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fax3l%2Flines-are-rusty" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ax3l/lines-are-rusty on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ax3l/lines-are-rusty [INFO] finished tweaking git repo https://github.com/ax3l/lines-are-rusty [INFO] tweaked toml for git repo https://github.com/ax3l/lines-are-rusty written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ax3l/lines-are-rusty already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pdf-canvas v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbe8140f89f51ea1d2ff06981eb1d357eba2354acc220ca5e97653ba7bc8fc09 [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" "cbe8140f89f51ea1d2ff06981eb1d357eba2354acc220ca5e97653ba7bc8fc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbe8140f89f51ea1d2ff06981eb1d357eba2354acc220ca5e97653ba7bc8fc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe8140f89f51ea1d2ff06981eb1d357eba2354acc220ca5e97653ba7bc8fc09", kill_on_drop: false }` [INFO] [stdout] cbe8140f89f51ea1d2ff06981eb1d357eba2354acc220ca5e97653ba7bc8fc09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45019992ee1165b00b3b27d2fb4813e65be3f40954b00bf8c810efc7ef83bb86 [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" "45019992ee1165b00b3b27d2fb4813e65be3f40954b00bf8c810efc7ef83bb86", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking svg v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling pdf-canvas v0.6.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking lines-are-rusty v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `segment_length` [INFO] [stdout] --> src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn segment_length(&self, i: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/lib.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_width` [INFO] [stdout] --> src/lib.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn average_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/lib.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn distance(&self, point: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `segment_quads` [INFO] [stdout] --> src/render/renderlib.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn segment_quads(line: &Line) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `segment_length` [INFO] [stdout] --> src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn segment_length(&self, i: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/lib.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_width` [INFO] [stdout] --> src/lib.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn average_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `offsets` [INFO] [stdout] --> src/lib.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn offsets(&self, offset_distance: f32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_points` [INFO] [stdout] --> src/lib.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn with_points(template: Point, points: &[(f32, f32)]) -> Line { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/lib.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn distance(&self, point: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ZERO` [INFO] [stdout] --> src/lib.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | const ZERO: DirectionVec = DirectionVec { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/lib.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_length` [INFO] [stdout] --> src/lib.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn set_length(mut self, length: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_orthogonally` [INFO] [stdout] --> src/lib.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn rotate_orthogonally(mut self) -> DirectionVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | fn process_single_file(mut input: &mut dyn Read, mut output: &mut dyn Write, opts: Options) -> Result<()> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | fn process_single_file(mut input: &mut dyn Read, mut output: &mut dyn Write, opts: Options) -> Result<()> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.16s [INFO] running `Command { std: "docker" "inspect" "45019992ee1165b00b3b27d2fb4813e65be3f40954b00bf8c810efc7ef83bb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45019992ee1165b00b3b27d2fb4813e65be3f40954b00bf8c810efc7ef83bb86", kill_on_drop: false }` [INFO] [stdout] 45019992ee1165b00b3b27d2fb4813e65be3f40954b00bf8c810efc7ef83bb86