[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] 1fbe2fa357ad76b43d318867d45a6d5b2230b727 [INFO] checking ax3l/lines-are-rusty against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fax3l%2Flines-are-rusty" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ax3l/lines-are-rusty on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-6/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d484ea352c612361d0f165f31bc202843fc09bbec4a4629bcb6b4b94a3dde54 [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" "3d484ea352c612361d0f165f31bc202843fc09bbec4a4629bcb6b4b94a3dde54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d484ea352c612361d0f165f31bc202843fc09bbec4a4629bcb6b4b94a3dde54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d484ea352c612361d0f165f31bc202843fc09bbec4a4629bcb6b4b94a3dde54", kill_on_drop: false }` [INFO] [stdout] 3d484ea352c612361d0f165f31bc202843fc09bbec4a4629bcb6b4b94a3dde54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 164c85e6b78347d079fcce87ee8e9a82291f6767602cffcaccd545ccf804b676 [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" "164c85e6b78347d079fcce87ee8e9a82291f6767602cffcaccd545ccf804b676", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Checking svg v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling pdf-canvas v0.6.0 [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: function is never used: `segment_quads` [INFO] [stdout] --> src/render/renderlib.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | 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:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | 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:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | 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:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | 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:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | 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:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | 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:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | 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:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | 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:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | 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: 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:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | 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:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | 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: 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 19.11s [INFO] running `Command { std: "docker" "inspect" "164c85e6b78347d079fcce87ee8e9a82291f6767602cffcaccd545ccf804b676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164c85e6b78347d079fcce87ee8e9a82291f6767602cffcaccd545ccf804b676", kill_on_drop: false }` [INFO] [stdout] 164c85e6b78347d079fcce87ee8e9a82291f6767602cffcaccd545ccf804b676