[INFO] fetching crate ama 0.1.4... [INFO] checking ama-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ama 0.1.4 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ama 0.1.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82ba26656911b0b7d1c8da3eeb07d5dfa69ab0b4c29c479a3290042afffe0082 [INFO] running `Command { std: "docker" "start" "-a" "82ba26656911b0b7d1c8da3eeb07d5dfa69ab0b4c29c479a3290042afffe0082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82ba26656911b0b7d1c8da3eeb07d5dfa69ab0b4c29c479a3290042afffe0082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ba26656911b0b7d1c8da3eeb07d5dfa69ab0b4c29c479a3290042afffe0082", kill_on_drop: false }` [INFO] [stdout] 82ba26656911b0b7d1c8da3eeb07d5dfa69ab0b4c29c479a3290042afffe0082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b85a38eb7dbc36fbf22edaba96fb3958da0e833340266975aa9d2601382a895b [INFO] running `Command { std: "docker" "start" "-a" "b85a38eb7dbc36fbf22edaba96fb3958da0e833340266975aa9d2601382a895b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = note: removed in 1.33.0 [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[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[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] = note: removed in 1.33.0 [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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | -> Box [INFO] [stdout] | +++ [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] 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 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | -> Box [INFO] [stdout] | +++ [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 test) due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b85a38eb7dbc36fbf22edaba96fb3958da0e833340266975aa9d2601382a895b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85a38eb7dbc36fbf22edaba96fb3958da0e833340266975aa9d2601382a895b", kill_on_drop: false }` [INFO] [stdout] b85a38eb7dbc36fbf22edaba96fb3958da0e833340266975aa9d2601382a895b