[INFO] cloning repository https://github.com/Mefgalm/Vorto-backend-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mefgalm/Vorto-backend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMefgalm%2FVorto-backend-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMefgalm%2FVorto-backend-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 888c832a476ee4321fb9c6bc59c367278ce40833 [INFO] checking Mefgalm/Vorto-backend-rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMefgalm%2FVorto-backend-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mefgalm/Vorto-backend-rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mefgalm/Vorto-backend-rust [INFO] finished tweaking git repo https://github.com/Mefgalm/Vorto-backend-rust [INFO] tweaked toml for git repo https://github.com/Mefgalm/Vorto-backend-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mefgalm/Vorto-backend-rust 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded siphasher v0.3.6 [INFO] [stderr] Downloaded bitflags v1.3.1 [INFO] [stderr] Downloaded sha-1 v0.9.7 [INFO] [stderr] Downloaded base64ct v1.0.0 [INFO] [stderr] Downloaded jsonwebtokens v1.1.0 [INFO] [stderr] Downloaded tokio v1.10.0 [INFO] [stderr] Downloaded password-hash v0.3.0 [INFO] [stderr] Downloaded argon2 v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6edc9f6b68df20399b69bac80543cc8faf2ba3ce09dca1bbb587cc37baf091da [INFO] running `Command { std: "docker" "start" "-a" "6edc9f6b68df20399b69bac80543cc8faf2ba3ce09dca1bbb587cc37baf091da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6edc9f6b68df20399b69bac80543cc8faf2ba3ce09dca1bbb587cc37baf091da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6edc9f6b68df20399b69bac80543cc8faf2ba3ce09dca1bbb587cc37baf091da", kill_on_drop: false }` [INFO] [stdout] 6edc9f6b68df20399b69bac80543cc8faf2ba3ce09dca1bbb587cc37baf091da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72b6a096ed1d0e392fd2eee5f2188fac31e651cf8ffd41b204eb3d3463f2e80d [INFO] running `Command { std: "docker" "start" "-a" "72b6a096ed1d0e392fd2eee5f2188fac31e651cf8ffd41b204eb3d3463f2e80d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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 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-6f17d22bba15001f/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] [stdout] error[E0412]: cannot find type `PResult` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use proc_macro::Diagnostic; [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-6f17d22bba15001f/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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Case` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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-6f17d22bba15001f/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: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pear_codegen` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "72b6a096ed1d0e392fd2eee5f2188fac31e651cf8ffd41b204eb3d3463f2e80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b6a096ed1d0e392fd2eee5f2188fac31e651cf8ffd41b204eb3d3463f2e80d", kill_on_drop: false }` [INFO] [stdout] 72b6a096ed1d0e392fd2eee5f2188fac31e651cf8ffd41b204eb3d3463f2e80d