[INFO] fetching crate ama 0.1.4... [INFO] checking ama-0.1.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ama 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate ama 0.1.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ama 0.1.4 [INFO] finished tweaking crates.io crate ama 0.1.4 [INFO] tweaked toml for crates.io crate ama 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dd4eec547896463a39eb9d3290a050db2db608941eea29db6c68cb2bf38cde2 [INFO] running `Command { std: "docker" "start" "-a" "7dd4eec547896463a39eb9d3290a050db2db608941eea29db6c68cb2bf38cde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dd4eec547896463a39eb9d3290a050db2db608941eea29db6c68cb2bf38cde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd4eec547896463a39eb9d3290a050db2db608941eea29db6c68cb2bf38cde2", kill_on_drop: false }` [INFO] [stdout] 7dd4eec547896463a39eb9d3290a050db2db608941eea29db6c68cb2bf38cde2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c499a4ceae2bd957071e123669b797c54684ed98c792bc339fa16d3f1159b134 [INFO] running `Command { std: "docker" "start" "-a" "c499a4ceae2bd957071e123669b797c54684ed98c792bc339fa16d3f1159b134", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking ama v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/libama/lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(rustc_private, quote)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/libama/lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(rustc_private, quote)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/libama/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/libama/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust::Ident` [INFO] [stdout] --> src/libama/compiler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use rust::{Ident, Span}; [INFO] [stdout] | ^^^^^ no `Ident` in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust::token_to_string` [INFO] [stdout] --> src/libama/quasiquote.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use rust::{TokenAndSpan, Span, token_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `token_to_string` in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust::Ident` [INFO] [stdout] --> src/libama/compiler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use rust::{Ident, Span}; [INFO] [stdout] | ^^^^^ no `Ident` in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust::token_to_string` [INFO] [stdout] --> src/libama/quasiquote.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use rust::{TokenAndSpan, Span, token_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `token_to_string` in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in module `rust` [INFO] [stdout] --> src/libama/compiler.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 28 | fn compile_expr(&mut self, unquote: Unquote) -> rust::P; [INFO] [stdout] | ^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in module `rust` [INFO] [stdout] --> src/libama/compiler.rs:29:66 [INFO] [stdout] | [INFO] [stdout] 29 | fn compile_block(&mut self, unquote: Unquote) -> rust::P; [INFO] [stdout] | ^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in module `rust` [INFO] [stdout] --> src/libama/token_flattener.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn flatten(cx: &'a rust::ExtCtxt, tts: Vec) [INFO] [stdout] | ^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in module `rust` [INFO] [stdout] --> src/libama/token_flattener.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(cx: &'a rust::ExtCtxt, tts: Vec) [INFO] [stdout] | ^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `expr_to_string` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | &rust::expr_to_string(&expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handler` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | sp_diag: &'a rust::Handler, [INFO] [stdout] | ^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handler` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(sp_diag: &'a rust::Handler, tokens: Vec) [INFO] [stdout] | ^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FatalError` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | fn fatal(&self, m: &str) -> rust::FatalError { [INFO] [stdout] | ^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in module `rust` [INFO] [stdout] --> src/libama/lib.rs:30:85 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile_anonymous_macro<'a, 'b, C>(cx: &'a rust::ExtCtxt<'b>, tts: Vec, [INFO] [stdout] | ^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in module `rust` [INFO] [stdout] --> src/libama/compiler.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 28 | fn compile_expr(&mut self, unquote: Unquote) -> rust::P; [INFO] [stdout] | ^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in module `rust` [INFO] [stdout] --> src/libama/compiler.rs:29:66 [INFO] [stdout] | [INFO] [stdout] 29 | fn compile_block(&mut self, unquote: Unquote) -> rust::P; [INFO] [stdout] | ^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in module `rust` [INFO] [stdout] --> src/libama/token_flattener.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn flatten(cx: &'a rust::ExtCtxt, tts: Vec) [INFO] [stdout] | ^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in module `rust` [INFO] [stdout] --> src/libama/token_flattener.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(cx: &'a rust::ExtCtxt, tts: Vec) [INFO] [stdout] | ^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `expr_to_string` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | &rust::expr_to_string(&expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handler` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | sp_diag: &'a rust::Handler, [INFO] [stdout] | ^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handler` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(sp_diag: &'a rust::Handler, tokens: Vec) [INFO] [stdout] | ^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FatalError` in module `rust` [INFO] [stdout] --> src/libama/code_gen.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | fn fatal(&self, m: &str) -> rust::FatalError { [INFO] [stdout] | ^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in module `rust` [INFO] [stdout] --> src/libama/lib.rs:30:85 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile_anonymous_macro<'a, 'b, C>(cx: &'a rust::ExtCtxt<'b>, tts: Vec, [INFO] [stdout] | ^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libama/lib.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | compiler: &mut C) -> Box where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | compiler: &mut C) -> Box where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libama/lib.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | compiler: &mut C) -> Box where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | compiler: &mut C) -> Box where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libama/code_gen.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | -> Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | -> Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libama/code_gen.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | -> Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | -> Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ama` (lib) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ama` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c499a4ceae2bd957071e123669b797c54684ed98c792bc339fa16d3f1159b134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c499a4ceae2bd957071e123669b797c54684ed98c792bc339fa16d3f1159b134", kill_on_drop: false }` [INFO] [stdout] c499a4ceae2bd957071e123669b797c54684ed98c792bc339fa16d3f1159b134