[INFO] fetching crate referent 0.1.1... [INFO] checking referent-0.1.1 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate referent 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate referent 0.1.1 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate referent 0.1.1 [INFO] finished tweaking crates.io crate referent 0.1.1 [INFO] tweaked toml for crates.io crate referent 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afb7b650ad3f16539c3db0343f7fdd56692bd398f600c6eb127a1dbf62230ddc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "afb7b650ad3f16539c3db0343f7fdd56692bd398f600c6eb127a1dbf62230ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afb7b650ad3f16539c3db0343f7fdd56692bd398f600c6eb127a1dbf62230ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb7b650ad3f16539c3db0343f7fdd56692bd398f600c6eb127a1dbf62230ddc", kill_on_drop: false }` [INFO] [stdout] afb7b650ad3f16539c3db0343f7fdd56692bd398f600c6eb127a1dbf62230ddc [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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2af883ddb1348490ca650ce5bf6b2e6e962aad02b012729e0cd8db4d285869f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a2af883ddb1348490ca650ce5bf6b2e6e962aad02b012729e0cd8db4d285869f", kill_on_drop: false }` [INFO] [stderr] Checking referent v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `core::raw`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | use core::raw; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `core::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct TraitObject(raw::TraitObject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `core::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | TraitObject(raw::TraitObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::data`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | data: data, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::vtable`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | vtable: meta.0, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::data`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | self.0.data [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::vtable`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | Meta(self.0.vtable) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `core::raw`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | use core::raw; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `core::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct TraitObject(raw::TraitObject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `core::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | TraitObject(raw::TraitObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::data`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | data: data, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::vtable`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | vtable: meta.0, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::data`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | self.0.data [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `core::raw::TraitObject::vtable`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/lib.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | Meta(self.0.vtable) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/size_and_align.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | derive_referent!(Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/size_and_align.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | check(&"foo" as &Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/size_and_align.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | check(&[1,2,3] as &Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/size_and_align.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | check(&1 as &Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/basic.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | derive_referent!(Foo<'a>, 'a); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Foo<'a>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/basic.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | let (data, meta) = Referent::disassemble(&bar as &Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/basic.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let bar_ptr: *const Foo = Referent::assemble(data, meta); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/basic.rs:40:55 [INFO] [stdout] | [INFO] [stdout] 40 | let (data, meta) = Referent::disassemble(&baz as &Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/basic.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let baz_ptr: *const Foo = Referent::assemble(data, meta); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/basic.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let ptr = &Bar as &Foo; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/macro.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | derive_referent!(Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/macro.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let foo = &(5 as usize) as &Foo; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/macro.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let new_foo: &Foo = unsafe { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/macro.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | derive_referent!(Generic<'a, T>, 'a, T); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Generic<'a, T>` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/macro.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let i = &1 as &Generic; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Generic` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/macro.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let new_i: &Generic = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Generic` [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] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "a2af883ddb1348490ca650ce5bf6b2e6e962aad02b012729e0cd8db4d285869f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2af883ddb1348490ca650ce5bf6b2e6e962aad02b012729e0cd8db4d285869f", kill_on_drop: false }` [INFO] [stdout] a2af883ddb1348490ca650ce5bf6b2e6e962aad02b012729e0cd8db4d285869f