[INFO] cloning repository https://github.com/botagar/system-monitor-agent-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/botagar/system-monitor-agent-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotagar%2Fsystem-monitor-agent-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotagar%2Fsystem-monitor-agent-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04f4273b5f8d980698474832150489551c6c2989 [INFO] checking botagar/system-monitor-agent-rs against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotagar%2Fsystem-monitor-agent-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/botagar/system-monitor-agent-rs [INFO] finished tweaking git repo https://github.com/botagar/system-monitor-agent-rs [INFO] tweaked toml for git repo https://github.com/botagar/system-monitor-agent-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/botagar/system-monitor-agent-rs on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/botagar/system-monitor-agent-rs 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_http v0.4.10 [INFO] [stderr] Downloaded rocket_codegen v0.4.10 [INFO] [stderr] Downloaded machine-uid v0.2.0 [INFO] [stderr] Downloaded procstat v1.0.4 [INFO] [stderr] Downloaded rocket_contrib v0.4.10 [INFO] [stderr] Downloaded rocket v0.4.10 [INFO] [stderr] Downloaded raw-cpuid v10.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c6632d6c5b5acb3e97dc1afd6c4fa8e7157998e3a2b00bce696484976fb70d0 [INFO] running `Command { std: "docker" "start" "-a" "3c6632d6c5b5acb3e97dc1afd6c4fa8e7157998e3a2b00bce696484976fb70d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c6632d6c5b5acb3e97dc1afd6c4fa8e7157998e3a2b00bce696484976fb70d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c6632d6c5b5acb3e97dc1afd6c4fa8e7157998e3a2b00bce696484976fb70d0", kill_on_drop: false }` [INFO] [stdout] 3c6632d6c5b5acb3e97dc1afd6c4fa8e7157998e3a2b00bce696484976fb70d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b78a2eb26bf040c056dbe29eb12e7e07b97b507dc089057697d1b1bcab0450be [INFO] running `Command { std: "docker" "start" "-a" "b78a2eb26bf040c056dbe29eb12e7e07b97b507dc089057697d1b1bcab0450be", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(crate_visibility_modifier)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.63.0; see for more information [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/parser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | crate struct Diagnostic(crate ::proc_macro::Diagnostic); [INFO] [stdout] | ^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stdout] error[E0412]: cannot find type `PResult` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn extract_input_ident(f: &ItemFn) -> PResult { [INFO] [stdout] | ^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-0.15.44/src/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Result = std::result::Result; [INFO] [stdout] | ------------------ similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PResult` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | fn parser_attribute(input: TokenStream) -> PResult { [INFO] [stdout] | ^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-0.15.44/src/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Result = std::result::Result; [INFO] [stdout] | ------------------ similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Case` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 142 | impl Case { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Case` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | where I: Iterator [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pattern` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Pattern::Wild(..) => quote!(#case_expr), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Pattern` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 13 + use std::str::pattern::Pattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pattern` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | Pattern::Calls(ref calls) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Pattern` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 13 + use std::str::pattern::Pattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Switch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:201:6 [INFO] [stdout] | [INFO] [stdout] 201 | impl Switch { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Diagnostic` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Diagnostic::emit(e.into()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Diagnostic` [INFO] [stdout] | [INFO] [stdout] help: a tool attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 215 - Diagnostic::emit(e.into()); [INFO] [stdout] 215 + diagnostic::emit(e.into()); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use proc_macro::Diagnostic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(tokens) => tokens.into(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | diag.emit(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | .map(|c| c.clone()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 172 | .map(|c: /* Type */| c.clone()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Case` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | let rest_tokens = Case::to_tokens(&input, parser_name, cases); [INFO] [stdout] | ^^^^ use of undeclared type `Case` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Case` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | Case::to_tokens(&self.input, &self.parser_name, self.cases.iter()) [INFO] [stdout] | ^^^^ use of undeclared type `Case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Switch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | match Switch::syn_parse.parse(input) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Switch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | Ok(switch) => switch.to_tokens().into(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.4/src/lib.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | Diagnostic::emit(e.into()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pear_codegen` (lib) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b78a2eb26bf040c056dbe29eb12e7e07b97b507dc089057697d1b1bcab0450be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78a2eb26bf040c056dbe29eb12e7e07b97b507dc089057697d1b1bcab0450be", kill_on_drop: false }` [INFO] [stdout] b78a2eb26bf040c056dbe29eb12e7e07b97b507dc089057697d1b1bcab0450be