[INFO] fetching crate unsafe-any 0.4.2... [INFO] testing unsafe-any-0.4.2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate unsafe-any 0.4.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate unsafe-any 0.4.2 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-any 0.4.2 [INFO] finished tweaking crates.io crate unsafe-any 0.4.2 [INFO] tweaked toml for crates.io crate unsafe-any 0.4.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df7241144840e6b05c842145583a01921e68fda8396454b2b70bd7a19f98bb12 [INFO] running `Command { std: "docker" "start" "-a" "df7241144840e6b05c842145583a01921e68fda8396454b2b70bd7a19f98bb12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df7241144840e6b05c842145583a01921e68fda8396454b2b70bd7a19f98bb12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7241144840e6b05c842145583a01921e68fda8396454b2b70bd7a19f98bb12", kill_on_drop: false }` [INFO] [stdout] df7241144840e6b05c842145583a01921e68fda8396454b2b70bd7a19f98bb12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cdd89bd54a1e8d3b4eed2c60014c24094a90a137f95e21e36cbec7fc5c1897a [INFO] running `Command { std: "docker" "start" "-a" "0cdd89bd54a1e8d3b4eed2c60014c24094a90a137f95e21e36cbec7fc5c1897a", kill_on_drop: false }` [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl UnsafeAny { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe fn downcast_unchecked(self: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let raw: *mut UnsafeAny = mem::transmute(self); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe impl UnsafeAnyExt for Any { } [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe impl UnsafeAnyExt for UnsafeAny { } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe impl UnsafeAnyExt for Any + Send { } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe impl UnsafeAnyExt for Any + Sync { } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | unsafe impl UnsafeAnyExt for Any + Send + Sync { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe impl UnsafeAnyExt for UnsafeAny + Send { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe impl UnsafeAnyExt for UnsafeAny + Sync { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe impl UnsafeAnyExt for UnsafeAny + Send + Sync { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unsafe-any` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0cdd89bd54a1e8d3b4eed2c60014c24094a90a137f95e21e36cbec7fc5c1897a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdd89bd54a1e8d3b4eed2c60014c24094a90a137f95e21e36cbec7fc5c1897a", kill_on_drop: false }` [INFO] [stdout] 0cdd89bd54a1e8d3b4eed2c60014c24094a90a137f95e21e36cbec7fc5c1897a