[INFO] fetching crate num-macros 0.1.40... [INFO] checking num-macros-0.1.40 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate num-macros 0.1.40 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate num-macros 0.1.40 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [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] [stderr] warning: unused manifest key: lib.plugin [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] 512f64fd6ccfa0c38c0463fa14bc18389371c18d3695b81de2061068d8de26a4 [INFO] running `Command { std: "docker" "start" "-a" "512f64fd6ccfa0c38c0463fa14bc18389371c18d3695b81de2061068d8de26a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "512f64fd6ccfa0c38c0463fa14bc18389371c18d3695b81de2061068d8de26a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512f64fd6ccfa0c38c0463fa14bc18389371c18d3695b81de2061068d8de26a4", kill_on_drop: false }` [INFO] [stdout] 512f64fd6ccfa0c38c0463fa14bc18389371c18d3695b81de2061068d8de26a4 [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] 4a8d61016abce7c42cd697fb77d979fe15e4a99b37cf27d2d3124fa7838a6af1 [INFO] running `Command { std: "docker" "start" "-a" "4a8d61016abce7c42cd697fb77d979fe15e4a99b37cf27d2d3124fa7838a6af1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking num-macros v0.1.40 (/opt/rustwide/workdir) [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: removed in 1.75.0; see for more information [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] [stderr] error: could not compile `num-macros` (lib) due to 24 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 a dyn-compatible 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] 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] running `Command { std: "docker" "inspect" "4a8d61016abce7c42cd697fb77d979fe15e4a99b37cf27d2d3124fa7838a6af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a8d61016abce7c42cd697fb77d979fe15e4a99b37cf27d2d3124fa7838a6af1", kill_on_drop: false }` [INFO] [stdout] 4a8d61016abce7c42cd697fb77d979fe15e4a99b37cf27d2d3124fa7838a6af1