[INFO] cloning repository https://github.com/livelybug/rust-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/livelybug/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivelybug%2Frust-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivelybug%2Frust-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dde1e064f5a4f3d1fb1c0306afd8ed1d5626b957 [INFO] building livelybug/rust-practice against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivelybug%2Frust-practice" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/livelybug/rust-practice on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/livelybug/rust-practice [INFO] finished tweaking git repo https://github.com/livelybug/rust-practice [INFO] tweaked toml for git repo https://github.com/livelybug/rust-practice written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/livelybug/rust-practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c94d0d0fe8976efb84544cdc7f2633860f0116b253c5e73064109f9897bf41ad [INFO] running `Command { std: "docker" "start" "-a" "c94d0d0fe8976efb84544cdc7f2633860f0116b253c5e73064109f9897bf41ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c94d0d0fe8976efb84544cdc7f2633860f0116b253c5e73064109f9897bf41ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c94d0d0fe8976efb84544cdc7f2633860f0116b253c5e73064109f9897bf41ad", kill_on_drop: false }` [INFO] [stdout] c94d0d0fe8976efb84544cdc7f2633860f0116b253c5e73064109f9897bf41ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 978de4b822c284097584459bb0ca3d7f13d0608b6734f13f6a1cdf1fc8987606 [INFO] running `Command { std: "docker" "start" "-a" "978de4b822c284097584459bb0ca3d7f13d0608b6734f13f6a1cdf1fc8987606", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling my_crate v0.1.0 (/opt/rustwide/workdir/my_crate) [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-src v111.9.0+1.1.1g [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.13 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling pin-project v0.4.13 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | fn print_dispatch_dynamic(disp: &Summable) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 - fn print_dispatch_dynamic(disp: &Summable) { [INFO] [stdout] 155 + fn print_dispatch_dynamic(disp: &dyn Summable) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let shapes:[&Shape; 2] = [&s1, &c1]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - let shapes:[&Shape; 2] = [&s1, &c1]; [INFO] [stdout] 187 + let shapes:[&dyn Shape; 2] = [&s1, &c1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 - let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] 215 + let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/basis/data_structure.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Color::Cmyk{black:255, ..} => println!("color is black"), // means the same as the line above, cause unreachable pattern warning [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "978de4b822c284097584459bb0ca3d7f13d0608b6734f13f6a1cdf1fc8987606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978de4b822c284097584459bb0ca3d7f13d0608b6734f13f6a1cdf1fc8987606", kill_on_drop: false }` [INFO] [stdout] 978de4b822c284097584459bb0ca3d7f13d0608b6734f13f6a1cdf1fc8987606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 287bbc67f2efa832587322405b86bf416d9d82fae11ee760333a0d36915b7f06 [INFO] running `Command { std: "docker" "start" "-a" "287bbc67f2efa832587322405b86bf416d9d82fae11ee760333a0d36915b7f06", kill_on_drop: false }` [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | fn print_dispatch_dynamic(disp: &Summable) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 - fn print_dispatch_dynamic(disp: &Summable) { [INFO] [stdout] 155 + fn print_dispatch_dynamic(disp: &dyn Summable) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let shapes:[&Shape; 2] = [&s1, &c1]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - let shapes:[&Shape; 2] = [&s1, &c1]; [INFO] [stdout] 187 + let shapes:[&dyn Shape; 2] = [&s1, &c1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 - let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] 215 + let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/basis/data_structure.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Color::Cmyk{black:255, ..} => println!("color is black"), // means the same as the line above, cause unreachable pattern warning [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.20s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hello-6b635e06c37dd8c0) [INFO] running `Command { std: "docker" "inspect" "287bbc67f2efa832587322405b86bf416d9d82fae11ee760333a0d36915b7f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287bbc67f2efa832587322405b86bf416d9d82fae11ee760333a0d36915b7f06", kill_on_drop: false }` [INFO] [stdout] 287bbc67f2efa832587322405b86bf416d9d82fae11ee760333a0d36915b7f06