[INFO] cloning repository https://github.com/chrislawlor/tracers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrislawlor/tracers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrislawlor%2Ftracers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrislawlor%2Ftracers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9829bf0f312584f61a870bfa2b7f053e64e1e0a [INFO] checking chrislawlor/tracers against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrislawlor%2Ftracers" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrislawlor/tracers on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrislawlor/tracers [INFO] finished tweaking git repo https://github.com/chrislawlor/tracers [INFO] tweaked toml for git repo https://github.com/chrislawlor/tracers written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chrislawlor/tracers 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking chrislawlor/tracers against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrislawlor%2Ftracers" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrislawlor/tracers on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrislawlor/tracers [INFO] finished tweaking git repo https://github.com/chrislawlor/tracers [INFO] tweaked toml for git repo https://github.com/chrislawlor/tracers written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chrislawlor/tracers 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" "+2c70eb47850052381670935f807d41647a7dc992" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0732ddde3f7c8bf586208d535441f501abce3bf1f355f39dc30392b5d5c14e5f [INFO] running `Command { std: "docker" "start" "-a" "0732ddde3f7c8bf586208d535441f501abce3bf1f355f39dc30392b5d5c14e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0732ddde3f7c8bf586208d535441f501abce3bf1f355f39dc30392b5d5c14e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0732ddde3f7c8bf586208d535441f501abce3bf1f355f39dc30392b5d5c14e5f", kill_on_drop: false }` [INFO] [stdout] 0732ddde3f7c8bf586208d535441f501abce3bf1f355f39dc30392b5d5c14e5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 246f2afce492491a2f9996a62b1c7720b1959f36035ca119d8b855df388b7c49 [INFO] running `Command { std: "docker" "start" "-a" "246f2afce492491a2f9996a62b1c7720b1959f36035ca119d8b855df388b7c49", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tracers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Canvas` is never constructed [INFO] [stdout] --> src/canvas.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canvas` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/canvas.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Canvas { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pixel_at` is never used [INFO] [stdout] --> src/canvas.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pixel_at(canvas: &Canvas, x: usize, y: usize) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_pixel` is never used [INFO] [stdout] --> src/canvas.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn write_pixel(canvas: &mut Canvas, x: usize, y: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `canvas_to_ppm` is never used [INFO] [stdout] --> src/canvas.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn canvas_to_ppm(canvas: &Canvas) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_rgb` are never used [INFO] [stdout] --> src/color.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub fn new>(red: T, green: T, blue: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn as_rgb(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `identity` are never used [INFO] [stdout] --> src/matrix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new>(cols: usize, rows: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_val` is never used [INFO] [stdout] --> src/matrix.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_val(matrix: &mut Matrix, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/tuples.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const EPSILON: f64 = 0.00001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `point`, `vector`, `is_point`, and `is_vector` are never used [INFO] [stdout] --> src/tuples.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl FourTuple { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn point>(x: T, y: T, z: T) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vector>(x: T, y: T, z: T) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_point(obj: &FourTuple) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn is_vector(obj: &FourTuple) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `magnitude` is never used [INFO] [stdout] --> src/tuples.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn magnitude(tuple: &FourTuple) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/tuples.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn normalize(vector: &FourTuple) -> FourTuple { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/tuples.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn dot(a: &FourTuple, b: &FourTuple) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/tuples.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn cross(a: &FourTuple, b: &FourTuple) -> FourTuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking approx v0.5.1 [INFO] [stdout] warning: associated functions `new` and `identity` are never used [INFO] [stdout] --> src/matrix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new>(cols: usize, rows: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_val` is never used [INFO] [stdout] --> src/matrix.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_val(matrix: &mut Matrix, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/tuples.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const EPSILON: f64 = 0.00001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tuples.rs:233:42 [INFO] [stdout] | [INFO] [stdout] 233 | let (vector, expected) = case.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `(tuples::FourTuple, tuples::FourTuple)` does not implement `Clone`, so calling `clone` on `&(tuples::FourTuple, tuples::FourTuple)` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "246f2afce492491a2f9996a62b1c7720b1959f36035ca119d8b855df388b7c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246f2afce492491a2f9996a62b1c7720b1959f36035ca119d8b855df388b7c49", kill_on_drop: false }` [INFO] [stdout] 246f2afce492491a2f9996a62b1c7720b1959f36035ca119d8b855df388b7c49