[INFO] fetching crate lavish-compiler 0.4.0... [INFO] checking lavish-compiler-0.4.0 against master#df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e for pr-95474 [INFO] extracting crate lavish-compiler 0.4.0 into /workspace/builds/worker-41/source [INFO] validating manifest of crates.io crate lavish-compiler 0.4.0 on toolchain df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lavish-compiler 0.4.0 [INFO] finished tweaking crates.io crate lavish-compiler 0.4.0 [INFO] tweaked toml for crates.io crate lavish-compiler 0.4.0 written to /workspace/builds/worker-41/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vte v0.10.1 [INFO] [stderr] Downloaded utf8parse v0.2.0 [INFO] [stderr] Downloaded netbuf v0.4.1 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.1 [INFO] [stderr] Downloaded strip-ansi-escapes v0.1.1 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a3554a352aa41691c6c2cb807751b11ec3e54db649589fabb13281f3ff812c6 [INFO] running `Command { std: "docker" "start" "-a" "6a3554a352aa41691c6c2cb807751b11ec3e54db649589fabb13281f3ff812c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a3554a352aa41691c6c2cb807751b11ec3e54db649589fabb13281f3ff812c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3554a352aa41691c6c2cb807751b11ec3e54db649589fabb13281f3ff812c6", kill_on_drop: false }` [INFO] [stdout] 6a3554a352aa41691c6c2cb807751b11ec3e54db649589fabb13281f3ff812c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96f9dd9f3fa9699c524e2184b859c20ed0edc53b00c6597185fc7232a9388c0e [INFO] running `Command { std: "docker" "start" "-a" "96f9dd9f3fa9699c524e2184b859c20ed0edc53b00c6597185fc7232a9388c0e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Checking netbuf v0.4.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking lavish-compiler v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | writer: &'a mut fmt::Write, [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - writer: &'a mut fmt::Write, [INFO] [stdout] 35 + writer: &'a mut dyn fmt::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | writer: &'a mut fmt::Write, [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - writer: &'a mut fmt::Write, [INFO] [stdout] 35 + writer: &'a mut dyn fmt::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | body: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - body: Option>, [INFO] [stdout] 45 + body: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | body: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - body: Option>, [INFO] [stdout] 193 + body: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) frames: Vec<&'a Frame>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - pub(crate) frames: Vec<&'a Frame>, [INFO] [stdout] 89 + pub(crate) frames: Vec<&'a dyn Frame>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(frame: &'a Frame) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - pub fn new(frame: &'a Frame) -> Self { [INFO] [stdout] 94 + pub fn new(frame: &'a dyn Frame) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push(&self, frame: &'a Frame) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn push(&self, frame: &'a Frame) -> Self { [INFO] [stdout] 100 + pub fn push(&self, frame: &'a dyn Frame) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] 274 + pub fn for_each_fun(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:280:44 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 - pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] 280 + pub fn for_each_struct(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:286:42 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 - pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] 286 + pub fn for_each_enum(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 292 - pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] 292 + pub fn for_each_namespace(&self, cb: &mut dyn FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:298:51 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 298 - pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] 298 + pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 - pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] 306 + pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 316 - pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] 316 + pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:332:51 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 - pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] 332 + pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 - pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] 341 + pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:350:52 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] 350 + pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(writer: &'a mut fmt::Write) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn new(writer: &'a mut fmt::Write) -> Self { [INFO] [stdout] 47 + pub fn new(writer: &'a mut dyn fmt::Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] 120 + pub fn fmt(writer: &'a mut dyn fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/protocol.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] 193 + fn for_each_fun(&self, cb: &mut dyn FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] 5 + fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] 11 + fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | body: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - body: Option>, [INFO] [stdout] 45 + body: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | body: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - body: Option>, [INFO] [stdout] 193 + body: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) frames: Vec<&'a Frame>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - pub(crate) frames: Vec<&'a Frame>, [INFO] [stdout] 89 + pub(crate) frames: Vec<&'a dyn Frame>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(frame: &'a Frame) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - pub fn new(frame: &'a Frame) -> Self { [INFO] [stdout] 94 + pub fn new(frame: &'a dyn Frame) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push(&self, frame: &'a Frame) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn push(&self, frame: &'a Frame) -> Self { [INFO] [stdout] 100 + pub fn push(&self, frame: &'a dyn Frame) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] 274 + pub fn for_each_fun(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:280:44 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 - pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] 280 + pub fn for_each_struct(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:286:42 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 - pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] 286 + pub fn for_each_enum(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 292 - pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] 292 + pub fn for_each_namespace(&self, cb: &mut dyn FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:298:51 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 298 - pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] 298 + pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 - pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] 306 + pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 316 - pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] 316 + pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:332:51 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 - pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] 332 + pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 - pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] 341 + pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:350:52 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] 350 + pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(writer: &'a mut fmt::Write) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn new(writer: &'a mut fmt::Write) -> Self { [INFO] [stdout] 47 + pub fn new(writer: &'a mut dyn fmt::Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] 120 + pub fn fmt(writer: &'a mut dyn fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/protocol.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] 193 + fn for_each_fun(&self, cb: &mut dyn FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] 5 + fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] 11 + fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.25s [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96f9dd9f3fa9699c524e2184b859c20ed0edc53b00c6597185fc7232a9388c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f9dd9f3fa9699c524e2184b859c20ed0edc53b00c6597185fc7232a9388c0e", kill_on_drop: false }` [INFO] [stdout] 96f9dd9f3fa9699c524e2184b859c20ed0edc53b00c6597185fc7232a9388c0e