[INFO] crate nom-peg 0.1.1 is already in cache [INFO] checking nom-peg-0.1.1 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate nom-peg 0.1.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate nom-peg 0.1.1 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate nom-peg 0.1.1 [INFO] finished tweaking crates.io crate nom-peg 0.1.1 [INFO] tweaked toml for crates.io crate nom-peg 0.1.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fcdbec6b71ba204b1b68c34badc826310551dc2855c128b88b0daa8e6332f920 [INFO] running `"docker" "start" "-a" "fcdbec6b71ba204b1b68c34badc826310551dc2855c128b88b0daa8e6332f920"` [INFO] [stderr] Checking nom-peg v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: suffixes on a tuple index are invalid [INFO] [stderr] --> tests/json.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | let json = grammar! { [INFO] [stderr] | ________________- [INFO] [stderr] 26 | | parse: JsonValue = "=" [INFO] [stderr] 27 | | [INFO] [stderr] 28 | | num: f32 = ::recognize_float => { result.parse::().unwrap() } [INFO] [stderr] ... | [INFO] [stderr] 51 | | | boolean => { JsonValue::Boolean(result) } [INFO] [stderr] 52 | | }; [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_____invalid suffix `usize` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `usize` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases [INFO] [stderr] = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access [INFO] [stderr] = note: for more context, see https://github.com/rust-lang/rust/issues/60210 [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/json.rs:28:43 [INFO] [stderr] | [INFO] [stderr] 28 | num: f32 = ::recognize_float => { result.parse::().unwrap() } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/json.rs:47:56 [INFO] [stderr] | [INFO] [stderr] 47 | value: JsonValue = hash => { JsonValue::Object(result) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/json.rs:48:56 [INFO] [stderr] | [INFO] [stderr] 48 | | array => { JsonValue::Array(result) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/json.rs:49:68 [INFO] [stderr] | [INFO] [stderr] 49 | | string => { JsonValue::Str(String::from(result)) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/json.rs:50:52 [INFO] [stderr] | [INFO] [stderr] 50 | | num => { JsonValue::Num(result) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/json.rs:51:60 [INFO] [stderr] | [INFO] [stderr] 51 | | boolean => { JsonValue::Boolean(result) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: suffixes on a tuple index are invalid [INFO] [stderr] --> tests/basic.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | let arithmetic = grammar! { [INFO] [stderr] | ______________________- [INFO] [stderr] 40 | | parse: i64 = "=" [INFO] [stderr] 41 | | [INFO] [stderr] 42 | | expr: i64 = "+" => { l + r } [INFO] [stderr] ... | [INFO] [stderr] 51 | | | "(" ")" [INFO] [stderr] 52 | | }; [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_____invalid suffix `usize` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `usize` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases [INFO] [stderr] = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access [INFO] [stderr] = note: for more context, see https://github.com/rust-lang/rust/issues/60210 [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/basic.rs:50:70 [INFO] [stderr] | [INFO] [stderr] 50 | value: i64 = ("0"|"1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|"9")+ => { result.join("").parse::().unwrap() } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/basic.rs:78:40 [INFO] [stderr] | [INFO] [stderr] 78 | q: String = a ("b" | "c") => { result.0 } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/basic.rs:79:24 [INFO] [stderr] | [INFO] [stderr] 79 | | a "d" => { result.0 } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result` in this scope [INFO] [stderr] --> tests/basic.rs:81:31 [INFO] [stderr] | [INFO] [stderr] 81 | a: String = "a"* => { result.join("") } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `nom-peg`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `nom-peg`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fcdbec6b71ba204b1b68c34badc826310551dc2855c128b88b0daa8e6332f920"` [INFO] running `"docker" "rm" "-f" "fcdbec6b71ba204b1b68c34badc826310551dc2855c128b88b0daa8e6332f920"` [INFO] [stdout] fcdbec6b71ba204b1b68c34badc826310551dc2855c128b88b0daa8e6332f920