[INFO] fetching crate json_proc_macro 0.5.1... [INFO] checking json_proc_macro-0.5.1 against 1.95.0 for pr-155915 [INFO] extracting crate json_proc_macro 0.5.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate json_proc_macro 0.5.1 [INFO] finished tweaking crates.io crate json_proc_macro 0.5.1 [INFO] tweaked toml for crates.io crate json_proc_macro 0.5.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate json_proc_macro 0.5.1 on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate json_proc_macro 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.23 [INFO] [stderr] Downloaded syn v2.0.86 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8662fdccb9c64161529b4e0b393264f154d2e6ca223426d6a34b2b7cafb7e2a2 [INFO] running `Command { std: "docker" "start" "-a" "8662fdccb9c64161529b4e0b393264f154d2e6ca223426d6a34b2b7cafb7e2a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8662fdccb9c64161529b4e0b393264f154d2e6ca223426d6a34b2b7cafb7e2a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8662fdccb9c64161529b4e0b393264f154d2e6ca223426d6a34b2b7cafb7e2a2", kill_on_drop: false }` [INFO] [stdout] 8662fdccb9c64161529b4e0b393264f154d2e6ca223426d6a34b2b7cafb7e2a2 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df77a7734058b3923df5c6a6547db1d61b7bde8317608b4518636932cd911818 [INFO] running `Command { std: "docker" "start" "-a" "df77a7734058b3923df5c6a6547db1d61b7bde8317608b4518636932cd911818", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling json_proc_macro v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.86 [INFO] [stdout] error[E0433]: cannot find type `Diagnostic` in this scope [INFO] [stdout] --> src/lib.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let mut d = Diagnostic::spanned( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Diagnostic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(lints_enabled)] [INFO] [stdout] | ------------- the item is gated here [INFO] [stdout] 16 | // These only work on nightly because they are unstable [INFO] [stdout] 17 | use proc_macro::{Diagnostic, Level}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: a tool attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 179 - let mut d = Diagnostic::spanned( [INFO] [stdout] 179 + let mut d = diagnostic::spanned( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Level` in this scope [INFO] [stdout] --> src/lib.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | Level::Note, [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(lints_enabled)] [INFO] [stdout] | ------------- the item is gated here [INFO] [stdout] 16 | // These only work on nightly because they are unstable [INFO] [stdout] 17 | use proc_macro::{Diagnostic, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Diagnostic` in this scope [INFO] [stdout] --> src/lib.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let mut d = Diagnostic::spanned( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Diagnostic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(lints_enabled)] [INFO] [stdout] | ------------- the item is gated here [INFO] [stdout] 16 | // These only work on nightly because they are unstable [INFO] [stdout] 17 | use proc_macro::{Diagnostic, Level}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: a tool attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 179 - let mut d = Diagnostic::spanned( [INFO] [stdout] 179 + let mut d = diagnostic::spanned( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Level` in this scope [INFO] [stdout] --> src/lib.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | Level::Note, [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(lints_enabled)] [INFO] [stdout] | ------------- the item is gated here [INFO] [stdout] 16 | // These only work on nightly because they are unstable [INFO] [stdout] 17 | use proc_macro::{Diagnostic, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json_proc_macro` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json_proc_macro` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "df77a7734058b3923df5c6a6547db1d61b7bde8317608b4518636932cd911818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df77a7734058b3923df5c6a6547db1d61b7bde8317608b4518636932cd911818", kill_on_drop: false }` [INFO] [stdout] df77a7734058b3923df5c6a6547db1d61b7bde8317608b4518636932cd911818