[INFO] fetching crate traitor 0.0.0... [INFO] checking traitor-0.0.0 against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] extracting crate traitor 0.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate traitor 0.0.0 on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate traitor 0.0.0 [INFO] finished tweaking crates.io crate traitor 0.0.0 [INFO] tweaked toml for crates.io crate traitor 0.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded typed-arena v1.7.0 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded traitor-derive v0.0.0 [INFO] [stderr] Downloaded dynasmrt v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a2c946779937739b62ae589f17b78001ba05445e75f44ba7d8cbc0f28ef652b [INFO] running `Command { std: "docker" "start" "-a" "1a2c946779937739b62ae589f17b78001ba05445e75f44ba7d8cbc0f28ef652b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a2c946779937739b62ae589f17b78001ba05445e75f44ba7d8cbc0f28ef652b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a2c946779937739b62ae589f17b78001ba05445e75f44ba7d8cbc0f28ef652b", kill_on_drop: false }` [INFO] [stdout] 1a2c946779937739b62ae589f17b78001ba05445e75f44ba7d8cbc0f28ef652b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87c5a7147151f1465288402a29c40b03243bd55950affdcaf5ae35616e7e307 [INFO] running `Command { std: "docker" "start" "-a" "c87c5a7147151f1465288402a29c40b03243bd55950affdcaf5ae35616e7e307", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking dynasmrt v0.2.3 [INFO] [stderr] Compiling traitor-derive v0.0.0 [INFO] [stderr] Checking traitor v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | shadows: typed_arena::Arena<Box<Whatever>>, [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - shadows: typed_arena::Arena<Box<Whatever>>, [INFO] [stdout] 97 + shadows: typed_arena::Arena<Box<dyn Whatever>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe impl<T: Debug> crate::details::VTableInfoTrait<T, Debug> for crate::details::VTableInfo { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - unsafe impl<T: Debug> crate::details::VTableInfoTrait<T, Debug> for crate::details::VTableInfo { [INFO] [stdout] 61 + unsafe impl<T: Debug> crate::details::VTableInfoTrait<T, dyn Debug> for crate::details::VTableInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | shadows: typed_arena::Arena<Box<Whatever>>, [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - shadows: typed_arena::Arena<Box<Whatever>>, [INFO] [stdout] 97 + shadows: typed_arena::Arena<Box<dyn Whatever>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe impl<T: Debug> crate::details::VTableInfoTrait<T, Debug> for crate::details::VTableInfo { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - unsafe impl<T: Debug> crate::details::VTableInfoTrait<T, Debug> for crate::details::VTableInfo { [INFO] [stdout] 61 + unsafe impl<T: Debug> crate::details::VTableInfoTrait<T, dyn Debug> for crate::details::VTableInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let shadow: Box<Whatever> = Box::new(binder.into_shadow()); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let shadow: Box<Whatever> = Box::new(binder.into_shadow()); [INFO] [stdout] 158 + let shadow: Box<dyn Whatever> = Box::new(binder.into_shadow()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | let shadow: &mut Box<Whatever> = self [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - let shadow: &mut Box<Whatever> = self [INFO] [stdout] 161 + let shadow: &mut Box<dyn Whatever> = self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [INFO] [stdout] 163 + .alloc(std::mem::transmute::<Box<dyn Whatever + 'sc>, Box<Whatever>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:163:71 [INFO] [stdout] | [INFO] [stdout] 163 | .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [INFO] [stdout] 163 + .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<dyn Whatever>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | let shadow_ptr = shadow.as_ref() as *const Whatever as *const B::Shadow; [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - let shadow_ptr = shadow.as_ref() as *const Whatever as *const B::Shadow; [INFO] [stdout] 166 + let shadow_ptr = shadow.as_ref() as *const dyn Whatever as *const B::Shadow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let shadow: Box<Whatever> = Box::new(binder.into_shadow()); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let shadow: Box<Whatever> = Box::new(binder.into_shadow()); [INFO] [stdout] 158 + let shadow: Box<dyn Whatever> = Box::new(binder.into_shadow()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | let shadow: &mut Box<Whatever> = self [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - let shadow: &mut Box<Whatever> = self [INFO] [stdout] 161 + let shadow: &mut Box<dyn Whatever> = self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [INFO] [stdout] 163 + .alloc(std::mem::transmute::<Box<dyn Whatever + 'sc>, Box<Whatever>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:163:71 [INFO] [stdout] | [INFO] [stdout] 163 | .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<Whatever>>( [INFO] [stdout] 163 + .alloc(std::mem::transmute::<Box<Whatever + 'sc>, Box<dyn Whatever>>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | let shadow_ptr = shadow.as_ref() as *const Whatever as *const B::Shadow; [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - let shadow_ptr = shadow.as_ref() as *const Whatever as *const B::Shadow; [INFO] [stdout] 166 + let shadow_ptr = shadow.as_ref() as *const dyn Whatever as *const B::Shadow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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/box_drop.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Annotated { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - trait Annotated { [INFO] [stdout] 6 + trait dyn Annotated { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait Colored { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - trait Colored { [INFO] [stdout] 13 + trait dyn Colored { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | fn extract_data_ptr(colored: &Colored) -> *const () { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - fn extract_data_ptr(colored: &Colored) -> *const () { [INFO] [stdout] 74 + fn extract_data_ptr(colored: &dyn Colored) -> *const () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/box_drop.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let bound: Box<Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - let bound: Box<Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder); [INFO] [stdout] 34 + let bound: Box<dyn Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> tests/box_drop.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn hello<'data>(data: &'data ValueWithDrop, meta: &'data Metadata) -> &'static str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> tests/box_drop.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | fn hello<'data>(data: &'data ValueWithDrop, meta: &'data Metadata) -> &'static str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { *(&colored as *const &Colored as *const *const ()) } [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - unsafe { *(&colored as *const &Colored as *const *const ()) } [INFO] [stdout] 77 + unsafe { *(&colored as *const &dyn Colored as *const *const ()) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let red_hello: &Colored = red_binder.bind(&data); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - let red_hello: &Colored = red_binder.bind(&data); [INFO] [stdout] 57 + let red_hello: &dyn Colored = red_binder.bind(&data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let green_hello: &Colored = green_binder.bind(&data); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - let green_hello: &Colored = green_binder.bind(&data); [INFO] [stdout] 58 + let green_hello: &dyn Colored = green_binder.bind(&data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let blue_hello: &Colored = blue_binder.bind(&data); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - let blue_hello: &Colored = blue_binder.bind(&data); [INFO] [stdout] 59 + let blue_hello: &dyn Colored = blue_binder.bind(&data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Colored` in public interface (error E0445) [INFO] [stdout] --> tests/colored_string.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[traitor::shadow] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` 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 a future release! [INFO] [stdout] = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537> [INFO] [stdout] = note: this warning originates in the attribute macro `traitor::shadow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Annotated` in public interface (error E0445) [INFO] [stdout] --> tests/box_drop.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[traitor::shadow] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` 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 a future release! [INFO] [stdout] = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537> [INFO] [stdout] = note: this warning originates in the attribute macro `traitor::shadow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_Colored_box` should have a snake case name [INFO] [stdout] --> tests/colored_string.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait Colored { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bind_colored_box` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_Annotated_box` should have a snake case name [INFO] [stdout] --> tests/box_drop.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Annotated { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `bind_annotated_box` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 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 11.28s [INFO] running `Command { std: "docker" "inspect" "c87c5a7147151f1465288402a29c40b03243bd55950affdcaf5ae35616e7e307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87c5a7147151f1465288402a29c40b03243bd55950affdcaf5ae35616e7e307", kill_on_drop: false }` [INFO] [stdout] c87c5a7147151f1465288402a29c40b03243bd55950affdcaf5ae35616e7e307