[INFO] fetching crate hotswap 0.6.0... [INFO] checking hotswap-0.6.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hotswap 0.6.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hotswap 0.6.0 [INFO] finished tweaking crates.io crate hotswap 0.6.0 [INFO] tweaked toml for crates.io crate hotswap 0.6.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hotswap 0.6.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f236082e8aef2062efd508d7459a8790df3dab3a5d3f412bff90aa1685ef521 [INFO] running `Command { std: "docker" "start" "-a" "1f236082e8aef2062efd508d7459a8790df3dab3a5d3f412bff90aa1685ef521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f236082e8aef2062efd508d7459a8790df3dab3a5d3f412bff90aa1685ef521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f236082e8aef2062efd508d7459a8790df3dab3a5d3f412bff90aa1685ef521", kill_on_drop: false }` [INFO] [stdout] 1f236082e8aef2062efd508d7459a8790df3dab3a5d3f412bff90aa1685ef521 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f9572bba950159ed3ffaf4b240d2fffcb114a3f10bae7c979d68b53b61b8fcb [INFO] running `Command { std: "docker" "start" "-a" "1f9572bba950159ed3ffaf4b240d2fffcb114a3f10bae7c979d68b53b61b8fcb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] [stderr] Checking hotswap v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | MultiModifier(box header_extension), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - MultiModifier(box header_extension), [INFO] [stdout] 46 + MultiModifier(Box::new(header_extension)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | expander: box macro_extension, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 55 - expander: box macro_extension, [INFO] [stdout] 55 + expander: Box::new(macro_extension), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(quote, plugin_registrar, rustc_private, box_syntax, stmt_expr_attributes)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.33.0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(quote, plugin_registrar, rustc_private, box_syntax, stmt_expr_attributes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0; see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(quote, plugin_registrar, rustc_private, box_syntax, stmt_expr_attributes)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | MultiModifier(box header_extension), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 - MultiModifier(box header_extension), [INFO] [stdout] 46 + MultiModifier(Box::new(header_extension)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | expander: box macro_extension, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 55 - expander: box macro_extension, [INFO] [stdout] 55 + expander: Box::new(macro_extension), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(quote, plugin_registrar, rustc_private, box_syntax, stmt_expr_attributes)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.33.0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(quote, plugin_registrar, rustc_private, box_syntax, stmt_expr_attributes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0; see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(quote, plugin_registrar, rustc_private, box_syntax, stmt_expr_attributes)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/codegen.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let item = quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/codegen.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_block` in this scope [INFO] [stdout] --> src/codegen.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | P(quote_block!(cx, { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_stmt` in this scope [INFO] [stdout] --> src/codegen.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let stmt = quote_stmt!(cx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/codegen.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let block = quote_expr!(cx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_ty` in this scope [INFO] [stdout] --> src/util.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | _ => quote_ty!(cx, ()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | return MacEager::expr(quote_expr!(cx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | attrs.insert(0, quote_attr!(cx, #![allow(unused_imports)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | attrs.insert(0, quote_attr!(cx, #![allow(dead_code)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | attrs.insert(0, quote_attr!(cx, #![allow(unused_features)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | item.attrs.push(quote_attr!(cx, #![no_mangle])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/lib.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | .insert(0, quote_item!(cx, extern crate hotswap_runtime;).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mod_walk(mut m: Mod, item_map: &mut FnMut(Item) -> Item) -> Mod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mod_walk(mut m: Mod, item_map: &mut dyn FnMut(Item) -> Item) -> Mod { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/codegen.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let item = quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/codegen.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_block` in this scope [INFO] [stdout] --> src/codegen.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | P(quote_block!(cx, { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_stmt` in this scope [INFO] [stdout] --> src/codegen.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let stmt = quote_stmt!(cx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/codegen.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let block = quote_expr!(cx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hotswap` (lib) due to 21 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find macro `quote_ty` in this scope [INFO] [stdout] --> src/util.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | _ => quote_ty!(cx, ()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | return MacEager::expr(quote_expr!(cx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | attrs.insert(0, quote_attr!(cx, #![allow(unused_imports)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | attrs.insert(0, quote_attr!(cx, #![allow(dead_code)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | attrs.insert(0, quote_attr!(cx, #![allow(unused_features)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> src/lib.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | item.attrs.push(quote_attr!(cx, #![no_mangle])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/lib.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | .insert(0, quote_item!(cx, extern crate hotswap_runtime;).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mod_walk(mut m: Mod, item_map: &mut FnMut(Item) -> Item) -> Mod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mod_walk(mut m: Mod, item_map: &mut dyn FnMut(Item) -> Item) -> Mod { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hotswap` (lib test) due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1f9572bba950159ed3ffaf4b240d2fffcb114a3f10bae7c979d68b53b61b8fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9572bba950159ed3ffaf4b240d2fffcb114a3f10bae7c979d68b53b61b8fcb", kill_on_drop: false }` [INFO] [stdout] 1f9572bba950159ed3ffaf4b240d2fffcb114a3f10bae7c979d68b53b61b8fcb