[INFO] fetching crate lavish-compiler 0.4.0... [INFO] testing lavish-compiler-0.4.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate lavish-compiler 0.4.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate lavish-compiler 0.4.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded netbuf v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44604a3e9257beb5e8ffa5cc0eb9123deba1c6e0c93751a9f5794f4214d99090 [INFO] running `Command { std: "docker" "start" "-a" "44604a3e9257beb5e8ffa5cc0eb9123deba1c6e0c93751a9f5794f4214d99090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44604a3e9257beb5e8ffa5cc0eb9123deba1c6e0c93751a9f5794f4214d99090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44604a3e9257beb5e8ffa5cc0eb9123deba1c6e0c93751a9f5794f4214d99090", kill_on_drop: false }` [INFO] [stdout] 44604a3e9257beb5e8ffa5cc0eb9123deba1c6e0c93751a9f5794f4214d99090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8f1f7520544728a824a27ed6527cf5e19353b83b3460abeafca5d0e9263afdb [INFO] running `Command { std: "docker" "start" "-a" "f8f1f7520544728a824a27ed6527cf5e19353b83b3460abeafca5d0e9263afdb", 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.123 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling simple-error v0.2.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling 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/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 24.48s [INFO] running `Command { std: "docker" "inspect" "f8f1f7520544728a824a27ed6527cf5e19353b83b3460abeafca5d0e9263afdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f1f7520544728a824a27ed6527cf5e19353b83b3460abeafca5d0e9263afdb", kill_on_drop: false }` [INFO] [stdout] f8f1f7520544728a824a27ed6527cf5e19353b83b3460abeafca5d0e9263afdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c049d26316e25445dfe42b600a836b543191f570f9dfbe6ecf53f3b80f089580 [INFO] running `Command { std: "docker" "start" "-a" "c049d26316e25445dfe42b600a836b543191f570f9dfbe6ecf53f3b80f089580", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling netbuf v0.4.1 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling 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/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 test [unoptimized + debuginfo] target(s) in 6.64s [INFO] running `Command { std: "docker" "inspect" "c049d26316e25445dfe42b600a836b543191f570f9dfbe6ecf53f3b80f089580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c049d26316e25445dfe42b600a836b543191f570f9dfbe6ecf53f3b80f089580", kill_on_drop: false }` [INFO] [stdout] c049d26316e25445dfe42b600a836b543191f570f9dfbe6ecf53f3b80f089580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4f82873cbd5f783cc4fc9f9873a23b9a4ed9e92fd654a9210431e4f3d089f38 [INFO] running `Command { std: "docker" "start" "-a" "f4f82873cbd5f783cc4fc9f9873a23b9a4ed9e92fd654a9210431e4f3d089f38", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/output.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | writer: &'a mut fmt::Write, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - writer: &'a mut fmt::Write, [INFO] [stderr] 35 + writer: &'a mut dyn fmt::Write, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/rust/ir/lang.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | body: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - body: Option>, [INFO] [stderr] 45 + body: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/rust/ir/lang.rs:193:22 [INFO] [stderr] | [INFO] [stderr] 193 | body: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 193 - body: Option>, [INFO] [stderr] 193 + body: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:89:32 [INFO] [stderr] | [INFO] [stderr] 89 | pub(crate) frames: Vec<&'a Frame>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 - pub(crate) frames: Vec<&'a Frame>, [INFO] [stderr] 89 + pub(crate) frames: Vec<&'a dyn Frame>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:94:27 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn new(frame: &'a Frame) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 94 - pub fn new(frame: &'a Frame) -> Self { [INFO] [stderr] 94 + pub fn new(frame: &'a dyn Frame) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:100:35 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn push(&self, frame: &'a Frame) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 100 - pub fn push(&self, frame: &'a Frame) -> Self { [INFO] [stderr] 100 + pub fn push(&self, frame: &'a dyn Frame) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:274:41 [INFO] [stderr] | [INFO] [stderr] 274 | pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 274 - pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] 274 + pub fn for_each_fun(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:280:44 [INFO] [stderr] | [INFO] [stderr] 280 | pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 280 - pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] 280 + pub fn for_each_struct(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:286:42 [INFO] [stderr] | [INFO] [stderr] 286 | pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 286 - pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] 286 + pub fn for_each_enum(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:292:47 [INFO] [stderr] | [INFO] [stderr] 292 | pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 292 - pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [INFO] [stderr] 292 + pub fn for_each_namespace(&self, cb: &mut dyn FnMut(Anchored<&NamespaceBody>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:298:51 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 298 - pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] 298 + pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:306:54 [INFO] [stderr] | [INFO] [stderr] 306 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 306 - pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] 306 + pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:316:52 [INFO] [stderr] | [INFO] [stderr] 316 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 316 - pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] 316 + pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:332:51 [INFO] [stderr] | [INFO] [stderr] 332 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 332 - pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] 332 + pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:341:54 [INFO] [stderr] | [INFO] [stderr] 341 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 341 - pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] running 14 tests [INFO] [stderr] 341 + pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/anchored.rs:350:52 [INFO] [stderr] | [INFO] [stderr] 350 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] 350 + pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/output.rs:47:32 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn new(writer: &'a mut fmt::Write) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - pub fn new(writer: &'a mut fmt::Write) -> Self { [INFO] [stderr] 47 + pub fn new(writer: &'a mut dyn fmt::Write) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/output.rs:120:35 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 120 - pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [INFO] [stderr] 120 + pub fn fmt(writer: &'a mut dyn fmt::Write, f: F) -> std::fmt::Result [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/rust/ir/protocol.rs:193:37 [INFO] [stderr] | [INFO] [stderr] 193 | fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 193 - fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stderr] 193 + fn for_each_fun(&self, cb: &mut dyn FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/rust/ir/types.rs:5:64 [INFO] [stderr] | [INFO] [stderr] 5 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 - fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stderr] 5 + fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codegen/rust/ir/types.rs:11:64 [INFO] [stderr] | [INFO] [stderr] 11 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stderr] 11 + fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lavish-compiler` (bin "lavish" test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.83s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lavish-5e5ef49b28036dff) [INFO] [stdout] test parser::tests::build_local ... ok [INFO] [stdout] test parser::tests::enums ... ok [INFO] [stdout] test parser::tests::struct_comments ... ok [INFO] [stdout] test parser::tests::fn_namespaced ... ok [INFO] [stdout] test codegen::output::tests::test_scope ... ok [INFO] [stdout] test parser::tests::build_remote ... ok [INFO] [stdout] test parser::tests::nf_simple ... ok [INFO] [stdout] test parser::tests::struct_incomplete ... ok [INFO] [stdout] test parser::tests::target_go ... ok [INFO] [stdout] test parser::tests::struct_cookie ... ok [INFO] [stdout] test parser::tests::fn_nested ... ok [INFO] [stdout] test parser::tests::fn_simple ... ok [INFO] [stdout] test parser::tests::target_rust ... ok [INFO] [stdout] test parser::tests::target_unknown ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f4f82873cbd5f783cc4fc9f9873a23b9a4ed9e92fd654a9210431e4f3d089f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f82873cbd5f783cc4fc9f9873a23b9a4ed9e92fd654a9210431e4f3d089f38", kill_on_drop: false }` [INFO] [stdout] f4f82873cbd5f783cc4fc9f9873a23b9a4ed9e92fd654a9210431e4f3d089f38