[INFO] cloning repository https://github.com/joefttm/rust-by-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joefttm/rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoefttm%2Frust-by-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoefttm%2Frust-by-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a8c6eb292706617bad855ca29e8c83fe87cdf9e [INFO] checking joefttm/rust-by-example against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoefttm%2Frust-by-example" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joefttm/rust-by-example on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joefttm/rust-by-example [INFO] finished tweaking git repo https://github.com/joefttm/rust-by-example [INFO] tweaked toml for git repo https://github.com/joefttm/rust-by-example written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joefttm/rust-by-example 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87495695f7fa8fa2c429d8f934cffe41b24e18542bafe995563e66610a6e106e [INFO] running `Command { std: "docker" "start" "-a" "87495695f7fa8fa2c429d8f934cffe41b24e18542bafe995563e66610a6e106e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87495695f7fa8fa2c429d8f934cffe41b24e18542bafe995563e66610a6e106e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87495695f7fa8fa2c429d8f934cffe41b24e18542bafe995563e66610a6e106e", kill_on_drop: false }` [INFO] [stdout] 87495695f7fa8fa2c429d8f934cffe41b24e18542bafe995563e66610a6e106e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6defb8a96129bc301735ac0dfa22390bf763ced1ea57bc51cb19d38b5c5c1886 [INFO] running `Command { std: "docker" "start" "-a" "6defb8a96129bc301735ac0dfa22390bf763ced1ea57bc51cb19d38b5c5c1886", kill_on_drop: false }` [INFO] [stderr] Checking rust-by-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_edge` [INFO] [stdout] --> src/custom.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let Point {x: left_edge, y: top_edge} = point; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_edge` [INFO] [stdout] --> src/custom.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | let Point {x: left_edge, y: top_edge} = point; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/custom.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let a = [1,2,6]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_edge` [INFO] [stdout] --> src/custom.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let Point {x: left_edge, y: top_edge} = point; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_edge` [INFO] [stdout] --> src/custom.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | let Point {x: left_edge, y: top_edge} = point; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/custom.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let a = [1,2,6]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/hello.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct List(Vec); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/hello.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joe_format_print` is never used [INFO] [stdout] --> src/hello.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn joe_format_print() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/primitives.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Matrix(f32, f32, f32, f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transpose` is never used [INFO] [stdout] --> src/primitives.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn transpose(matrix: &mut Matrix) -> &Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joe_test_primitive` is never used [INFO] [stdout] --> src/primitives.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn joe_test_primitive() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/custom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `rect_area` are never used [INFO] [stdout] --> src/custom.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | // note: use static lifetime here [INFO] [stdout] 17 | pub fn new(x1: f32, y1: f32, x2: f32 ,y2 : f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn rect_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WebEvent` is never used [INFO] [stdout] --> src/custom.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum WebEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect` is never used [INFO] [stdout] --> src/custom.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn inspect(event: WebEvent) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/custom.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `prepend`, `len`, and `stringify` are never used [INFO] [stdout] --> src/custom.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 65 | fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn prepend(self, element: u32) -> List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn stringify(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joe_test_custom_type` is never used [INFO] [stdout] --> src/custom.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn joe_test_custom_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/hello.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct List(Vec); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/hello.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joe_format_print` is never used [INFO] [stdout] --> src/hello.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn joe_format_print() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/primitives.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Matrix(f32, f32, f32, f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transpose` is never used [INFO] [stdout] --> src/primitives.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn transpose(matrix: &mut Matrix) -> &Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joe_test_primitive` is never used [INFO] [stdout] --> src/primitives.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn joe_test_primitive() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/custom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `rect_area` are never used [INFO] [stdout] --> src/custom.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | // note: use static lifetime here [INFO] [stdout] 17 | pub fn new(x1: f32, y1: f32, x2: f32 ,y2 : f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn rect_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WebEvent` is never used [INFO] [stdout] --> src/custom.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum WebEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect` is never used [INFO] [stdout] --> src/custom.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn inspect(event: WebEvent) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/custom.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `prepend`, `len`, and `stringify` are never used [INFO] [stdout] --> src/custom.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 65 | fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn prepend(self, element: u32) -> List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn stringify(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joe_test_custom_type` is never used [INFO] [stdout] --> src/custom.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn joe_test_custom_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "6defb8a96129bc301735ac0dfa22390bf763ced1ea57bc51cb19d38b5c5c1886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6defb8a96129bc301735ac0dfa22390bf763ced1ea57bc51cb19d38b5c5c1886", kill_on_drop: false }` [INFO] [stdout] 6defb8a96129bc301735ac0dfa22390bf763ced1ea57bc51cb19d38b5c5c1886