[INFO] fetching crate corewars-parser 0.2.0... [INFO] checking corewars-parser-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate corewars-parser 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate corewars-parser 0.2.0 [INFO] finished tweaking crates.io crate corewars-parser 0.2.0 [INFO] tweaked toml for crates.io crate corewars-parser 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate corewars-parser 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding pretty_assertions v0.6.1 (available: v1.4.1) [INFO] [stderr] Adding test-case v1.2.3 (available: v3.3.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.2) [INFO] [stderr] Adding textwrap-macros v0.2.5 (available: v0.3.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-generator v0.3.1 [INFO] [stderr] Downloaded corewars-core v0.2.0 [INFO] [stderr] Downloaded textwrap-macros-impl v0.2.5 [INFO] [stderr] Downloaded textwrap-macros v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5d45b8bd023b123686b4e21e317714a79eec172de08442988cc20dc1f7e5f78 [INFO] running `Command { std: "docker" "start" "-a" "f5d45b8bd023b123686b4e21e317714a79eec172de08442988cc20dc1f7e5f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5d45b8bd023b123686b4e21e317714a79eec172de08442988cc20dc1f7e5f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d45b8bd023b123686b4e21e317714a79eec172de08442988cc20dc1f7e5f78", kill_on_drop: false }` [INFO] [stdout] f5d45b8bd023b123686b4e21e317714a79eec172de08442988cc20dc1f7e5f78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca45ca07fc31c6a04099cccb7d6d0c19f163a32326e1127096b7086ab899e403 [INFO] running `Command { std: "docker" "start" "-a" "ca45ca07fc31c6a04099cccb7d6d0c19f163a32326e1127096b7086ab899e403", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling test-case v1.2.3 [INFO] [stderr] Checking corewars-core v0.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling test-generator v0.3.1 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Compiling textwrap-macros-impl v0.2.5 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking textwrap-macros v0.2.5 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking corewars-parser v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grammar.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn tokenize(line: &str) -> Vec { [INFO] [stdout] | ^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn tokenize(line: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grammar.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_line(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grammar.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_expression(line: &str) -> Result { [INFO] [stdout] | ^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_expression(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/dump_test.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[test_resources("testdata/input/simple/*.redcode")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: no resource matching the pattern testdata/input/simple/*.redcode [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/dump_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> tests/dump_test.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `normalize_line_endings::normalized` [INFO] [stdout] --> tests/dump_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use normalize_line_endings::normalized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stdout] --> tests/dump_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `corewars_parser::Result as ParseResult` [INFO] [stdout] --> tests/dump_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use corewars_parser::Result as ParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corewars-parser` (test "dump_test") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grammar.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn tokenize(line: &str) -> Vec { [INFO] [stdout] | ^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn tokenize(line: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grammar.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_line(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grammar.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_expression(line: &str) -> Result { [INFO] [stdout] | ^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_expression(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca45ca07fc31c6a04099cccb7d6d0c19f163a32326e1127096b7086ab899e403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca45ca07fc31c6a04099cccb7d6d0c19f163a32326e1127096b7086ab899e403", kill_on_drop: false }` [INFO] [stdout] ca45ca07fc31c6a04099cccb7d6d0c19f163a32326e1127096b7086ab899e403