[INFO] fetching crate slag 0.1.1... [INFO] checking slag-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate slag 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate slag 0.1.1 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 slag 0.1.1 [INFO] finished tweaking crates.io crate slag 0.1.1 [INFO] tweaked toml for crates.io crate slag 0.1.1 written to /workspace/builds/worker-5-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 31 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding strsim v0.5.2 (available: v0.11.1) [INFO] [stderr] Adding syntex_syntax v0.7.0 (available: v0.59.1) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syntex_syntax v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 86b85598c6b1ba67ba9c63cf73a94a30acfec0a0f49b2208097cee889c374030 [INFO] running `Command { std: "docker" "start" "-a" "86b85598c6b1ba67ba9c63cf73a94a30acfec0a0f49b2208097cee889c374030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86b85598c6b1ba67ba9c63cf73a94a30acfec0a0f49b2208097cee889c374030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b85598c6b1ba67ba9c63cf73a94a30acfec0a0f49b2208097cee889c374030", kill_on_drop: false }` [INFO] [stdout] 86b85598c6b1ba67ba9c63cf73a94a30acfec0a0f49b2208097cee889c374030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 54b430f9e488aa15ca86d83ebb35e306e01254e82fe7f910272d3481bd31a0b1 [INFO] running `Command { std: "docker" "start" "-a" "54b430f9e488aa15ca86d83ebb35e306e01254e82fe7f910272d3481bd31a0b1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking term v1.0.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking syntex_syntax v0.7.0 [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | flags Restrictions: u8 { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/lib.rs:450:18 [INFO] [stdout] | [INFO] [stdout] 450 | $vis:vis struct $BitFlags:ident: $T:ty { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Restrictions` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | pub restrictions: Restrictions, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2184:29 [INFO] [stdout] | [INFO] [stdout] 2184 | ... RESTRICTION_NO_STRUCT_LITERAL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2747:48 [INFO] [stdout] | [INFO] [stdout] 2747 | let restrictions = self.restrictions & RESTRICTION_NO_STRUCT_LITERAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2802:52 [INFO] [stdout] | [INFO] [stdout] 2802 | return !self.restrictions.contains(RESTRICTION_NO_STRUCT_LITERAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2816:45 [INFO] [stdout] | [INFO] [stdout] 2816 | let cond = try!(self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2834:45 [INFO] [stdout] | [INFO] [stdout] 2834 | let expr = try!(self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2892:45 [INFO] [stdout] | [INFO] [stdout] 2892 | let expr = try!(self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2905:45 [INFO] [stdout] | [INFO] [stdout] 2905 | let cond = try!(self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2917:45 [INFO] [stdout] | [INFO] [stdout] 2917 | let expr = try!(self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_NO_STRUCT_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2932:53 [INFO] [stdout] | [INFO] [stdout] 2932 | let discriminant = try!(self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_STMT_EXPR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2953:45 [INFO] [stdout] | [INFO] [stdout] 2953 | let expr = try!(self.parse_expr_res(RESTRICTION_STMT_EXPR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Restrictions` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2979:41 [INFO] [stdout] | [INFO] [stdout] 2979 | pub fn parse_expr_res(&mut self, r: Restrictions) -> PResult
> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_STMT_EXPR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:3551:54 [INFO] [stdout] | [INFO] [stdout] 3551 | let e = try!(self.parse_expr_res(RESTRICTION_STMT_EXPR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESTRICTION_STMT_EXPR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:3560:36 [INFO] [stdout] | [INFO] [stdout] 3560 | self.restrictions.contains(RESTRICTION_STMT_EXPR) && [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `FkFnBlock` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/visit.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 45 | FkFnBlock, [INFO] [stdout] | --------- `FkFnBlock` defined here [INFO] [stdout] ... [INFO] [stdout] 615 | FkFnBlock(..) => {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: use this syntax instead: `FkFnBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Restrictions` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | restrictions: Restrictions::empty(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Restrictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Restrictions` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/parse/parser.rs:2975:29 [INFO] [stdout] | [INFO] [stdout] 2975 | self.parse_expr_res(Restrictions::empty()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Restrictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `Span` in a pattern, `Span` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syntex_syntax-0.7.0/src/diagnostic.rs:445:23 [INFO] [stdout] | [INFO] [stdout] 445 | Some((cm, COMMAND_LINE_SP)) => emit(self, cm, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syntex_syntax` (lib) due to 20 previous errors; 236 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54b430f9e488aa15ca86d83ebb35e306e01254e82fe7f910272d3481bd31a0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54b430f9e488aa15ca86d83ebb35e306e01254e82fe7f910272d3481bd31a0b1", kill_on_drop: false }` [INFO] [stdout] 54b430f9e488aa15ca86d83ebb35e306e01254e82fe7f910272d3481bd31a0b1