[INFO] cloning repository https://github.com/weykon/rust-mid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weykon/rust-mid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Frust-mid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Frust-mid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2049679f343a3e5923836e9e2e2f5c4d2601f97 [INFO] checking weykon/rust-mid against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Frust-mid" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/weykon/rust-mid [INFO] finished tweaking git repo https://github.com/weykon/rust-mid [INFO] tweaked toml for git repo https://github.com/weykon/rust-mid written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weykon/rust-mid on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/weykon/rust-mid 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a41e7f854a0a0278a0b3354fbfbdf6eb631e4e5d18c304cd161abdd1ba9fc2b [INFO] running `Command { std: "docker" "start" "-a" "4a41e7f854a0a0278a0b3354fbfbdf6eb631e4e5d18c304cd161abdd1ba9fc2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a41e7f854a0a0278a0b3354fbfbdf6eb631e4e5d18c304cd161abdd1ba9fc2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a41e7f854a0a0278a0b3354fbfbdf6eb631e4e5d18c304cd161abdd1ba9fc2b", kill_on_drop: false }` [INFO] [stdout] 4a41e7f854a0a0278a0b3354fbfbdf6eb631e4e5d18c304cd161abdd1ba9fc2b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c836c2e38b72484e79c0af06ec8dbf22a627a136764adcb652f441d1f90edfa [INFO] running `Command { std: "docker" "start" "-a" "8c836c2e38b72484e79c0af06ec8dbf22a627a136764adcb652f441d1f90edfa", kill_on_drop: false }` [INFO] [stderr] Checking life v0.1.0 (/opt/rustwide/workdir/life) [INFO] [stderr] Checking still_why_box_or_rcrefcell v0.1.0 (/opt/rustwide/workdir/still_why_box_or_rcrefcell) [INFO] [stderr] Checking closure_trait_function v0.1.0 (/opt/rustwide/workdir/closure_trait_function) [INFO] [stderr] Checking fat_or_not v0.1.0 (/opt/rustwide/workdir/fat_or_not) [INFO] [stderr] Checking rust-mid v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking read_and_write v0.1.0 (/opt/rustwide/workdir/read_and_write) [INFO] [stderr] Checking gen_static_and_dyn v0.1.0 (/opt/rustwide/workdir/gen_static_and_dyn) [INFO] [stderr] Checking dyn_trait_with_box v0.1.0 (/opt/rustwide/workdir/dyn_trait_with_box) [INFO] [stdout] warning: struct `OwnStory` is never constructed [INFO] [stdout] --> read_and_write/src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct OwnStory { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animal` is never used [INFO] [stdout] --> fat_or_not/src/main.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> life/src/practice.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let r; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider giving `r` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let r: /* Type */; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is more private than the item `area_pair_static` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn area_pair_static(a: impl Shape, b: impl Shape) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `area_pair_static` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Shape` is only usable at visibility `pub(crate)` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | trait Shape { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is more private than the item `area_pair_dynamic` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn area_pair_dynamic(a: &dyn Shape, b: &dyn Shape) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `area_pair_dynamic` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Shape` is only usable at visibility `pub(crate)` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | trait Shape { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileNode` is never constructed [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct FileNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: struct `BoxFileSystem` is never constructed [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct BoxFileSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcFileSystem` is never constructed [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct RcFileSystem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `children` are never read [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct RcFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 99 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | content: String, [INFO] [stdout] 101 | children: Vec>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 164 | struct AsyncFile { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 165 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsyncFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Linux_Niao` should have an upper camel case name [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Linux_Niao; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LinuxNiao` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `life` (bin "life" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Book` is never used [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait Book { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gelin` is never constructed [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Gelin; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Linux_Niao` is never constructed [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Linux_Niao; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `just_book` is never used [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn just_book(a_book: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animal` is never used [INFO] [stdout] --> fat_or_not/src/main.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnStory` is never constructed [INFO] [stdout] --> read_and_write/src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct OwnStory { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> closure_trait_function/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Linux_Niao` should have an upper camel case name [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Linux_Niao; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LinuxNiao` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is more private than the item `area_pair_static` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn area_pair_static(a: impl Shape, b: impl Shape) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `area_pair_static` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Shape` is only usable at visibility `pub(crate)` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | trait Shape { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is more private than the item `area_pair_dynamic` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn area_pair_dynamic(a: &dyn Shape, b: &dyn Shape) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `area_pair_dynamic` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Shape` is only usable at visibility `pub(crate)` [INFO] [stdout] --> gen_static_and_dyn/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | trait Shape { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Book` is never used [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait Book { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gelin` is never constructed [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Gelin; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Linux_Niao` is never constructed [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Linux_Niao; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `just_book` is never used [INFO] [stdout] --> dyn_trait_with_box/src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn just_book(a_book: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> life/src/practice.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let r; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider giving `r` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let r: /* Type */; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `life` (bin "life") due to 1 previous error [INFO] [stdout] warning: struct `FileNode` is never constructed [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct FileNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoxFileSystem` is never constructed [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct BoxFileSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcFileSystem` is never constructed [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct RcFileSystem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `children` are never read [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct RcFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 99 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | content: String, [INFO] [stdout] 101 | children: Vec>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> still_why_box_or_rcrefcell/src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 164 | struct AsyncFile { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 165 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsyncFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> closure_trait_function/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c836c2e38b72484e79c0af06ec8dbf22a627a136764adcb652f441d1f90edfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c836c2e38b72484e79c0af06ec8dbf22a627a136764adcb652f441d1f90edfa", kill_on_drop: false }` [INFO] [stdout] 8c836c2e38b72484e79c0af06ec8dbf22a627a136764adcb652f441d1f90edfa