[INFO] cloning repository https://github.com/idubrov/traitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idubrov/traitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidubrov%2Ftraitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidubrov%2Ftraitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1c934d2374a80ce126c7cdaaae86b77a50cbba6 [INFO] checking idubrov/traitor against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidubrov%2Ftraitor" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idubrov/traitor on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/idubrov/traitor [INFO] finished tweaking git repo https://github.com/idubrov/traitor [INFO] tweaked toml for git repo https://github.com/idubrov/traitor written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/idubrov/traitor 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.4.1 [INFO] [stderr] Downloaded cargo-readme v3.1.2 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded dynasmrt v0.2.3 [INFO] [stderr] Downloaded evmap v4.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c414abd7e936b9ef245bbeab7804037942b32b41995f175b013ddb81593e9c4e [INFO] running `Command { std: "docker" "start" "-a" "c414abd7e936b9ef245bbeab7804037942b32b41995f175b013ddb81593e9c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c414abd7e936b9ef245bbeab7804037942b32b41995f175b013ddb81593e9c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c414abd7e936b9ef245bbeab7804037942b32b41995f175b013ddb81593e9c4e", kill_on_drop: false }` [INFO] [stdout] c414abd7e936b9ef245bbeab7804037942b32b41995f175b013ddb81593e9c4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e50452ff34eafd40df3ba220b395eb35a2e0f962894183f5fd8acb046a47398f [INFO] running `Command { std: "docker" "start" "-a" "e50452ff34eafd40df3ba220b395eb35a2e0f962894183f5fd8acb046a47398f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking typed-arena v1.4.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking evmap v4.0.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking quote v0.6.10 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking dynasmrt v0.2.3 [INFO] [stderr] Checking syn v0.15.23 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking traitor-derive v0.0.0 (/opt/rustwide/workdir/traitor-derive) [INFO] [stderr] Compiling serde_derive v1.0.82 [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:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait 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:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = self [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:50 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:71 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:56 [INFO] [stdout] | [INFO] [stdout] 231 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | let shadow_ptr = shadow.as_ref() as *const dyn Whatever as *const B::Shadow; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed [INFO] [stdout] --> src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct VirtualTableHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cargo-readme v3.1.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [INFO] [stdout] | +++ [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait Colored { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | 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:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | 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 = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | let bound: Box = bind_Annotated_box(Box::new(ValueWithDrop {}), binder); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait for crate::details::VTableInfo { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 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:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | let blue_hello: &dyn Colored = blue_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:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let turquoise_hello: &Colored = turquoise_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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let turquoise_hello: &dyn Colored = turquoise_binder.bind(&data); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = self [INFO] [stdout] | +++ [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | 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] --> src/lib.rs:228:50 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:71 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:56 [INFO] [stdout] | [INFO] [stdout] 231 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | let shadow_ptr = shadow.as_ref() as *const dyn Whatever as *const B::Shadow; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_Colored_box` should have a snake case name [INFO] [stdout] --> tests/colored_string.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed [INFO] [stdout] --> src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct VirtualTableHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.15s [INFO] running `Command { std: "docker" "inspect" "e50452ff34eafd40df3ba220b395eb35a2e0f962894183f5fd8acb046a47398f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50452ff34eafd40df3ba220b395eb35a2e0f962894183f5fd8acb046a47398f", kill_on_drop: false }` [INFO] [stdout] e50452ff34eafd40df3ba220b395eb35a2e0f962894183f5fd8acb046a47398f [INFO] checking idubrov/traitor against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidubrov%2Ftraitor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idubrov/traitor on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/idubrov/traitor [INFO] finished tweaking git repo https://github.com/idubrov/traitor [INFO] tweaked toml for git repo https://github.com/idubrov/traitor written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/idubrov/traitor 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00b35d026a1feb29395b5a22ad95a5dca4037db45e15475853cb980306f3005a [INFO] running `Command { std: "docker" "start" "-a" "00b35d026a1feb29395b5a22ad95a5dca4037db45e15475853cb980306f3005a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b35d026a1feb29395b5a22ad95a5dca4037db45e15475853cb980306f3005a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b35d026a1feb29395b5a22ad95a5dca4037db45e15475853cb980306f3005a", kill_on_drop: false }` [INFO] [stdout] 00b35d026a1feb29395b5a22ad95a5dca4037db45e15475853cb980306f3005a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f880f5d67088c6cfc09976cf5e8b90797943d519e1c562cceeccadf203f28151 [INFO] running `Command { std: "docker" "start" "-a" "f880f5d67088c6cfc09976cf5e8b90797943d519e1c562cceeccadf203f28151", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typed-arena v1.4.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking evmap v4.0.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking dynasmrt v0.2.3 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking traitor-derive v0.0.0 (/opt/rustwide/workdir/traitor-derive) [INFO] [stderr] Compiling serde_derive v1.0.82 [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:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait 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:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = self [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:50 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:71 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:56 [INFO] [stdout] | [INFO] [stdout] 231 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | let shadow_ptr = shadow.as_ref() as *const dyn Whatever as *const B::Shadow; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed [INFO] [stdout] --> src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct VirtualTableHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cargo-readme v3.1.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | shadows: typed_arena::Arena>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | unsafe impl crate::details::VTableInfoTrait 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:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 | let shadow: Box = 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:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 | let shadow: &mut Box = self [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:50 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:71 [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | .alloc(std::mem::transmute::, Box>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:56 [INFO] [stdout] | [INFO] [stdout] 231 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | 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] --> tests/box_drop.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Annotated { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/box_drop.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let bound: Box = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | let bound: Box = bind_Annotated_box(Box::new(ValueWithDrop {}), binder); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait Colored { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | trait dyn Colored { [INFO] [stdout] | +++ [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/colored_string.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn extract_data_ptr(colored: &dyn Colored) -> *const () { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed [INFO] [stdout] --> src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct VirtualTableHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tests/colored_string.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 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:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | let blue_hello: &dyn Colored = blue_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:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let turquoise_hello: &Colored = turquoise_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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let turquoise_hello: &dyn Colored = turquoise_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:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { *(&colored as *const &dyn Colored as *const *const ()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_Colored_box` should have a snake case name [INFO] [stdout] --> tests/colored_string.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.31s [INFO] running `Command { std: "docker" "inspect" "f880f5d67088c6cfc09976cf5e8b90797943d519e1c562cceeccadf203f28151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f880f5d67088c6cfc09976cf5e8b90797943d519e1c562cceeccadf203f28151", kill_on_drop: false }` [INFO] [stdout] f880f5d67088c6cfc09976cf5e8b90797943d519e1c562cceeccadf203f28151