[INFO] fetching crate num-macros 0.1.40... [INFO] checking num-macros-0.1.40 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate num-macros 0.1.40 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate num-macros 0.1.40 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 num-macros 0.1.40 [INFO] finished tweaking crates.io crate num-macros 0.1.40 [INFO] tweaked toml for crates.io crate num-macros 0.1.40 written to /workspace/builds/worker-3-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] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (available: v0.4.2) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [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] [stderr] warning: unused manifest key: lib.plugin [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 97af9193a9cf508726e3f28cbc070f37cb9dc4bb13bbfff045427bb6cb18815a [INFO] running `Command { std: "docker" "start" "-a" "97af9193a9cf508726e3f28cbc070f37cb9dc4bb13bbfff045427bb6cb18815a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97af9193a9cf508726e3f28cbc070f37cb9dc4bb13bbfff045427bb6cb18815a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97af9193a9cf508726e3f28cbc070f37cb9dc4bb13bbfff045427bb6cb18815a", kill_on_drop: false }` [INFO] [stdout] 97af9193a9cf508726e3f28cbc070f37cb9dc4bb13bbfff045427bb6cb18815a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4ed0df5f9be174bc74d3314c6c0432356a005599ba329c1925b73635d219533d [INFO] running `Command { std: "docker" "start" "-a" "4ed0df5f9be174bc74d3314c6c0432356a005599ba329c1925b73635d219533d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking num-macros v0.1.40 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/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_ext` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate syntax_ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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] --> src/lib.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | #[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[E0422]: cannot find struct, variant or union type `TraitDef` in this scope [INFO] [stdout] --> src/lib.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let trait_def = TraitDef { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MethodDef` in this scope [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | MethodDef { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | ret_ty: Literal(Path::new_(pathvec_std!(cx, core::option::Option), [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Self_` in this scope [INFO] [stdout] --> src/lib.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | ... vec!(Box::new(Self_)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MethodDef` in this scope [INFO] [stdout] --> src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | MethodDef { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | ret_ty: Literal(Path::new_(pathvec_std!(cx, core::option::Option), [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Self_` in this scope [INFO] [stdout] --> src/lib.rs:104:58 [INFO] [stdout] | [INFO] [stdout] 104 | ... vec!(Box::new(Self_)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substructure` in this scope [INFO] [stdout] --> src/lib.rs:120:69 [INFO] [stdout] | [INFO] [stdout] 120 | fn cs_from(name: &str, cx: &mut ExtCtxt, trait_span: Span, substr: &Substructure) -> P { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StaticStruct` in this scope [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | StaticStruct(..) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StaticEnum` in this scope [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | StaticEnum(enum_def, _) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... push: &mut FnMut(Annotatable)) [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] 66 | push: &mut dyn FnMut(Annotatable)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LifetimeBounds` [INFO] [stdout] --> src/lib.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | generics: LifetimeBounds::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LifetimeBounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LifetimeBounds` [INFO] [stdout] --> src/lib.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | generics: LifetimeBounds::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LifetimeBounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Literal` in this scope [INFO] [stdout] --> src/lib.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | args: vec!(Literal(path_local!(i64))), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Literal` in this scope [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | ret_ty: Literal(Path::new_(pathvec_std!(cx, core::option::Option), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `combine_substructure` in this scope [INFO] [stdout] --> src/lib.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | combine_substructure: combine_substructure(Box::new(|c, s, sub| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LifetimeBounds` [INFO] [stdout] --> src/lib.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | generics: LifetimeBounds::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LifetimeBounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Literal` in this scope [INFO] [stdout] --> src/lib.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | args: vec!(Literal(path_local!(u64))), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Literal` in this scope [INFO] [stdout] --> src/lib.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | ret_ty: Literal(Path::new_(pathvec_std!(cx, core::option::Option), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `combine_substructure` in this scope [INFO] [stdout] --> src/lib.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | combine_substructure: combine_substructure(Box::new(|c, s, sub| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463, E0531, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-macros` (lib) due to 25 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4ed0df5f9be174bc74d3314c6c0432356a005599ba329c1925b73635d219533d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed0df5f9be174bc74d3314c6c0432356a005599ba329c1925b73635d219533d", kill_on_drop: false }` [INFO] [stdout] 4ed0df5f9be174bc74d3314c6c0432356a005599ba329c1925b73635d219533d