[INFO] cloning repository https://github.com/swuecho/rust_pearls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swuecho/rust_pearls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswuecho%2Frust_pearls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswuecho%2Frust_pearls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1872708631f831c8be5ba5ced6a4e1fd6a910c82 [INFO] checking swuecho/rust_pearls against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswuecho%2Frust_pearls" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swuecho/rust_pearls on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swuecho/rust_pearls [INFO] finished tweaking git repo https://github.com/swuecho/rust_pearls [INFO] tweaked toml for git repo https://github.com/swuecho/rust_pearls written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/swuecho/rust_pearls 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b242360650fdad0a37b61943b8918aeecaacbb91f8a86022e917151e7b21dc7 [INFO] running `Command { std: "docker" "start" "-a" "5b242360650fdad0a37b61943b8918aeecaacbb91f8a86022e917151e7b21dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b242360650fdad0a37b61943b8918aeecaacbb91f8a86022e917151e7b21dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b242360650fdad0a37b61943b8918aeecaacbb91f8a86022e917151e7b21dc7", kill_on_drop: false }` [INFO] [stdout] 5b242360650fdad0a37b61943b8918aeecaacbb91f8a86022e917151e7b21dc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e57f65612216598c7d888f62da167ade65525b1dc7efbcb958c977673ea45737 [INFO] running `Command { std: "docker" "start" "-a" "e57f65612216598c7d888f62da167ade65525b1dc7efbcb958c977673ea45737", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rust_pearls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/struct_enum.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Circle(&'a Point, f64), // how to interpret this? [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Circle(&'a Point, f64), // how to interpret this? [INFO] [stdout] 10 + Circle((), f64), // how to interpret this? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/struct_enum.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Circle(&'a Point, f64), // how to interpret this? [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Circle(&'a Point, f64), // how to interpret this? [INFO] [stdout] 10 + Circle((), f64), // how to interpret this? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/object_type.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | fn print(a: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | fn print(a: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/object_type.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | print(Box::new(10) as Box); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | print(Box::new(10) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_name`, `age`, `height`, `phone_number`, and `flavor` are never read [INFO] [stdout] --> src/bin/person.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | first_name : &'static str, [INFO] [stdout] 4 | last_name : &'static str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | age : u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | height : f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | phone_number : &'static str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | flavor : &'static str [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/object_type.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | fn print(a: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | fn print(a: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/object_type.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | print(Box::new(10) as Box); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | print(Box::new(10) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_name`, `age`, `height`, `phone_number`, and `flavor` are never read [INFO] [stdout] --> src/bin/person.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | first_name : &'static str, [INFO] [stdout] 4 | last_name : &'static str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | age : u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | height : f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | phone_number : &'static str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | flavor : &'static str [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "e57f65612216598c7d888f62da167ade65525b1dc7efbcb958c977673ea45737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57f65612216598c7d888f62da167ade65525b1dc7efbcb958c977673ea45737", kill_on_drop: false }` [INFO] [stdout] e57f65612216598c7d888f62da167ade65525b1dc7efbcb958c977673ea45737