[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/1872708631f831c8be5ba5ced6a4e1fd6a910c82 against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswuecho%2Frust_pearls" "/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/swuecho/rust_pearls on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "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-3-tc1/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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "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-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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecd72b666a5ae7c53e01e78df61f89ed65f8a51d71c114c548ebda22f35b3b2d [INFO] running `Command { std: "docker" "start" "-a" "ecd72b666a5ae7c53e01e78df61f89ed65f8a51d71c114c548ebda22f35b3b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecd72b666a5ae7c53e01e78df61f89ed65f8a51d71c114c548ebda22f35b3b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd72b666a5ae7c53e01e78df61f89ed65f8a51d71c114c548ebda22f35b3b2d", kill_on_drop: false }` [INFO] [stdout] ecd72b666a5ae7c53e01e78df61f89ed65f8a51d71c114c548ebda22f35b3b2d [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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0feef796a46558ed03296cd1649d7f6356919df7193d02fe2ca1786e02ef9fb3 [INFO] running `Command { std: "docker" "start" "-a" "0feef796a46558ed03296cd1649d7f6356919df7193d02fe2ca1786e02ef9fb3", 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: 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] [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((), 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((), f64), // how to interpret this? [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "0feef796a46558ed03296cd1649d7f6356919df7193d02fe2ca1786e02ef9fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0feef796a46558ed03296cd1649d7f6356919df7193d02fe2ca1786e02ef9fb3", kill_on_drop: false }` [INFO] [stdout] 0feef796a46558ed03296cd1649d7f6356919df7193d02fe2ca1786e02ef9fb3