[INFO] cloning repository https://github.com/BlinfoldKing/lex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BlinfoldKing/lex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlinfoldKing%2Flex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlinfoldKing%2Flex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70aba66968767b18fb870cbaf855f6c8fd832b55 [INFO] testing BlinfoldKing/lex against try#61cd42370816fd135c0f3b9debf2f5dfcf194594 for pr-98839 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlinfoldKing%2Flex" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BlinfoldKing/lex on toolchain 61cd42370816fd135c0f3b9debf2f5dfcf194594 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BlinfoldKing/lex [INFO] finished tweaking git repo https://github.com/BlinfoldKing/lex [INFO] tweaked toml for git repo https://github.com/BlinfoldKing/lex written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/BlinfoldKing/lex already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a34931281b133c8ba026c9636ee05fb2f2aecc45eaa565cbd782491358230ba [INFO] running `Command { std: "docker" "start" "-a" "9a34931281b133c8ba026c9636ee05fb2f2aecc45eaa565cbd782491358230ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a34931281b133c8ba026c9636ee05fb2f2aecc45eaa565cbd782491358230ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a34931281b133c8ba026c9636ee05fb2f2aecc45eaa565cbd782491358230ba", kill_on_drop: false }` [INFO] [stdout] 9a34931281b133c8ba026c9636ee05fb2f2aecc45eaa565cbd782491358230ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45a66d4e45f32b6633d3fbbb5983b065d8c1eaf045fc45027565bee2539fe018 [INFO] running `Command { std: "docker" "start" "-a" "45a66d4e45f32b6633d3fbbb5983b065d8c1eaf045fc45027565bee2539fe018", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling io-lifetimes v0.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling rustix v0.34.3 [INFO] [stderr] Compiling linux-raw-sys v0.0.42 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v3.0.5 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling rustyline v9.1.2 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling lex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/stdlib/core/feature.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | func: Arc::new(Box::new(move |state: &mut State, token: Token| -> Token { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/utils/variables.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn extract_variables(source: Token) -> HashMap> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/variables.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut res: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variables` and `wildcards` are never read [INFO] [stdout] --> src/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | variables: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | wildcards: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.45s [INFO] running `Command { std: "docker" "inspect" "45a66d4e45f32b6633d3fbbb5983b065d8c1eaf045fc45027565bee2539fe018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a66d4e45f32b6633d3fbbb5983b065d8c1eaf045fc45027565bee2539fe018", kill_on_drop: false }` [INFO] [stdout] 45a66d4e45f32b6633d3fbbb5983b065d8c1eaf045fc45027565bee2539fe018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 431dd870527b295c3ef365be70a010f20e8274684e28ef281279c8d287916742 [INFO] running `Command { std: "docker" "start" "-a" "431dd870527b295c3ef365be70a010f20e8274684e28ef281279c8d287916742", kill_on_drop: false }` [INFO] [stderr] Compiling lex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/stdlib/core/feature.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | func: Arc::new(Box::new(move |state: &mut State, token: Token| -> Token { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/utils/variables.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn extract_variables(source: Token) -> HashMap> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/variables.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut res: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variables` and `wildcards` are never read [INFO] [stdout] --> src/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | variables: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | wildcards: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "431dd870527b295c3ef365be70a010f20e8274684e28ef281279c8d287916742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431dd870527b295c3ef365be70a010f20e8274684e28ef281279c8d287916742", kill_on_drop: false }` [INFO] [stdout] 431dd870527b295c3ef365be70a010f20e8274684e28ef281279c8d287916742 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d74bb9f3985fc4596132aea1968fec5d00199ec446bc94f8c97dd9d02ca1de70 [INFO] running `Command { std: "docker" "start" "-a" "d74bb9f3985fc4596132aea1968fec5d00199ec446bc94f8c97dd9d02ca1de70", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/stdlib/core/feature.rs:43:70 [INFO] [stderr] | [INFO] [stderr] 43 | func: Arc::new(Box::new(move |state: &mut State, token: Token| -> Token { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source` [INFO] [stderr] --> src/utils/variables.rs:42:26 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn extract_variables(source: Token) -> HashMap> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/variables.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let mut res: HashMap> = HashMap::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `variables` and `wildcards` are never read [INFO] [stderr] --> src/state.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct State { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | variables: HashMap, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 18 | wildcards: HashMap>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `lex` (bin "lex" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lex-b9d7d25bd410416f) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test grammar::boolean_tests::should_be_false ... ok [INFO] [stdout] test grammar::inline_comment_tests::should_be_able_to_end_with_eol ... ok [INFO] [stdout] test grammar::list_tests::should_be_valid_empty_list ... ok [INFO] [stdout] test grammar::list_tests::error_missing_parentheses ... ok [INFO] [stdout] test grammar::list_tests::should_be_valid_list ... ok [INFO] [stdout] test grammar::list_tests::should_be_valid_list_of_mixed_type ... ok [INFO] [stdout] test grammar::atom_tests::error_start_with_capital ... ok [INFO] [stdout] test grammar::operator_tests::should_be_valid_operator ... ok [INFO] [stdout] test grammar::list_tests::should_be_valid_multiline_list ... ok [INFO] [stdout] test grammar::list_tests::should_be_valid_nested_list ... ok [INFO] [stdout] test grammar::comment_tests::should_be_able_to_comment ... ok [INFO] [stdout] test grammar::comment_tests::should_be_able_to_comment_multiline ... ok [INFO] [stdout] test grammar::inline_comment_tests::should_be_able_to_end_with_endline ... ok [INFO] [stdout] test grammar::atom_tests::error_start_with_number ... ok [INFO] [stdout] test grammar::number_tests::should_be_valid_decimal_number ... ok [INFO] [stdout] test grammar::string_tests::error_on_newline ... ok [INFO] [stdout] test grammar::string_tests::error_on_missing_quote ... ok [INFO] [stdout] test grammar::string_tests::should_be_valid_empty_string ... ok [INFO] [stdout] test grammar::string_tests::should_be_valid_double_quoted_string ... ok [INFO] [stdout] test grammar::string_tests::should_be_valid_single_quoted_string ... ok [INFO] [stdout] test grammar::atom_tests::should_be_valid_with_underscore ... ok [INFO] [stdout] test grammar::boolean_tests::should_be_true ... ok [INFO] [stdout] test grammar::variable_tests::should_be_valid_keyword ... ok [INFO] [stdout] test grammar::identifier_tests::should_be_valid_identifier ... ok [INFO] [stdout] test grammar::atom_tests::error_start_with_symbol ... ok [INFO] [stdout] test grammar::comment_tests::error_with_missing_pair ... ok [INFO] [stdout] test grammar::operator_tests::error_invalid_symbol ... ok [INFO] [stdout] test grammar::should_be_able_to_parse_document ... ok [INFO] [stdout] test grammar::wildcard_tests::should_be_valid_keyword ... ok [INFO] [stdout] test grammar::identifier_tests::error_missing_dot ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d74bb9f3985fc4596132aea1968fec5d00199ec446bc94f8c97dd9d02ca1de70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d74bb9f3985fc4596132aea1968fec5d00199ec446bc94f8c97dd9d02ca1de70", kill_on_drop: false }` [INFO] [stdout] d74bb9f3985fc4596132aea1968fec5d00199ec446bc94f8c97dd9d02ca1de70