[INFO] fetching crate mod_path 0.1.6... [INFO] testing mod_path-0.1.6 against 1.60.0 for beta-1.61-1 [INFO] extracting crate mod_path 0.1.6 into /workspace/builds/worker-60/source [INFO] validating manifest of crates.io crate mod_path 0.1.6 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 mod_path 0.1.6 [INFO] finished tweaking crates.io crate mod_path 0.1.6 [INFO] tweaked toml for crates.io crate mod_path 0.1.6 written to /workspace/builds/worker-60/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] e77da0108b18d17ec0db0bc8ab038d81dbc43ad0a98b464262afd89b240bd413 [INFO] running `Command { std: "docker" "start" "-a" "e77da0108b18d17ec0db0bc8ab038d81dbc43ad0a98b464262afd89b240bd413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e77da0108b18d17ec0db0bc8ab038d81dbc43ad0a98b464262afd89b240bd413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77da0108b18d17ec0db0bc8ab038d81dbc43ad0a98b464262afd89b240bd413", kill_on_drop: false }` [INFO] [stdout] e77da0108b18d17ec0db0bc8ab038d81dbc43ad0a98b464262afd89b240bd413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] 768b1bcad5ea2f27427ce3bb04c5ab04d42b300e7f1f25938924687f43eccfd5 [INFO] running `Command { std: "docker" "start" "-a" "768b1bcad5ea2f27427ce3bb04c5ab04d42b300e7f1f25938924687f43eccfd5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mod_path v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> lib.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | MacEager::items(SmallVector::one(quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DummyResult` [INFO] [stdout] --> lib.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | None => return DummyResult::expr(sp), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DummyResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacEager` [INFO] [stdout] --> lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | MacEager::items(SmallVector::one(quote_item!(cx, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MacEager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmallVector` [INFO] [stdout] --> lib.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | MacEager::items(SmallVector::one(quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SmallVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> lib.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | reg.register_syntax_extension(token::intern("mod_path"), IdentTT(Box::new(expand_mod_path), None, false)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> lib.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | fn expand_mod_path<'a>(cx: &'a mut ExtCtxt, sp: Span, ident: Ident, tts: Vec) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> lib.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | fn expand_mod_path<'a>(cx: &'a mut ExtCtxt, sp: Span, ident: Ident, tts: Vec) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> lib.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | fn expand_mod_path<'a>(cx: &'a mut ExtCtxt, sp: Span, ident: Ident, tts: Vec) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> lib.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | fn expand_mod_path<'a>(cx: &'a mut ExtCtxt, sp: Span, ident: Ident, tts: Vec) [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stdout] --> lib.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn expand_mod_path<'a>(cx: &'a mut ExtCtxt, sp: Span, ident: Ident, tts: Vec) [INFO] [stdout] | - help: you might be missing a type parameter: `, MacResult` [INFO] [stdout] 15 | -> Box { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_single_str_from_tts` in this scope [INFO] [stdout] --> lib.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let path = match get_single_str_from_tts(cx, sp, &*tts, "mod_path!") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> lib.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IdentTT` in this scope [INFO] [stdout] --> lib.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | reg.register_syntax_extension(token::intern("mod_path"), IdentTT(Box::new(expand_mod_path), None, false)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | -> Box { [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - -> Box { [INFO] [stdout] 15 + -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mod_path` due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "768b1bcad5ea2f27427ce3bb04c5ab04d42b300e7f1f25938924687f43eccfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768b1bcad5ea2f27427ce3bb04c5ab04d42b300e7f1f25938924687f43eccfd5", kill_on_drop: false }` [INFO] [stdout] 768b1bcad5ea2f27427ce3bb04c5ab04d42b300e7f1f25938924687f43eccfd5