[INFO] updating cached repository https://github.com/m-bra/swirl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1f5cf94782b69ec0be40766898e8771d1384a3e [INFO] checking m-bra/swirl against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-bra%2Fswirl" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/m-bra/swirl on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/m-bra/swirl [INFO] finished tweaking git repo https://github.com/m-bra/swirl [INFO] tweaked toml for git repo https://github.com/m-bra/swirl written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ee1567e31d763b1971f513ee89d576bfef0086678c54c20e26a6d9506b8c1dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ee1567e31d763b1971f513ee89d576bfef0086678c54c20e26a6d9506b8c1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ee1567e31d763b1971f513ee89d576bfef0086678c54c20e26a6d9506b8c1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee1567e31d763b1971f513ee89d576bfef0086678c54c20e26a6d9506b8c1dd", kill_on_drop: false }` [INFO] [stdout] 9ee1567e31d763b1971f513ee89d576bfef0086678c54c20e26a6d9506b8c1dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9027935f5297fd8903009e58c63c9c2068906b1c3f086d21d46a36b52e1c3d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a9027935f5297fd8903009e58c63c9c2068906b1c3f086d21d46a36b52e1c3d3", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking finally-block v0.2.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stderr] Checking swirl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `v` in this scope [INFO] [stdout] --> src/main.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | rules.insert("", v: V) [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/main.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | rules.insert("", v: V) [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_header` in this scope [INFO] [stdout] --> src/mmatch/match_rule.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | parse_header("::digit").unwrap(), None [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_header` in this scope [INFO] [stdout] --> src/mmatch/match_rule.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | parse_header(":d:digit::digits").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_body` in this scope [INFO] [stdout] --> src/mmatch/match_rule.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | Some(parse_body("Two .times: :d:d").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `v` in this scope [INFO] [stdout] --> src/main.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | rules.insert("", v: V) [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/main.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | rules.insert("", v: V) [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | fn init_rules() -> &mut Rules { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 79 | fn init_rules() -> &'static mut Rules { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | fn init_rules() -> &mut Rules { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 79 | fn init_rules() -> &'static mut Rules { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | rules.insert("", v: V) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected mutable reference, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&'static mut std::collections::HashMap` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | rules.insert("", v: V) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected mutable reference, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&'static mut std::collections::HashMap` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mmatch/match_rule_variant.rs:156:58 [INFO] [stdout] | [INFO] [stdout] 151 | / unimplemented!(" [INFO] [stdout] 152 | | this program crashed because the coder was too lazy to implement a specific case. sorry. [INFO] [stdout] 153 | | okay but alright to be fair, recursive rules are unefficient when they have bodies. [INFO] [stdout] 154 | | "); [INFO] [stdout] | |___________________________- any code following this expression is unreachable [INFO] [stdout] 155 | // the following code needs to be fixed by ... [INFO] [stdout] 156 | for (_, mut invoc_str_result) in frame_stack.drain(..).rev() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swirl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mmatch/match_rule_variant.rs:156:58 [INFO] [stdout] | [INFO] [stdout] 151 | / unimplemented!(" [INFO] [stdout] 152 | | this program crashed because the coder was too lazy to implement a specific case. sorry. [INFO] [stdout] 153 | | okay but alright to be fair, recursive rules are unefficient when they have bodies. [INFO] [stdout] 154 | | "); [INFO] [stdout] | |___________________________- any code following this expression is unreachable [INFO] [stdout] 155 | // the following code needs to be fixed by ... [INFO] [stdout] 156 | for (_, mut invoc_str_result) in frame_stack.drain(..).rev() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/invocation_string.rs:142:82 [INFO] [stdout] | [INFO] [stdout] 142 | let header = match_invocation_string_def("{::expr {' or '} ::or}", '{', '}', WhiteSpaceHandling::Remove) .unwrap().1.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mmatch::match_invocation_string::WhiteSpaceHandling`, found enum `mmatch::match_invocation_string::WhiteSpaceHandling` [INFO] [stdout] | help: consider borrowing here: `&WhiteSpaceHandling::Remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a9027935f5297fd8903009e58c63c9c2068906b1c3f086d21d46a36b52e1c3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9027935f5297fd8903009e58c63c9c2068906b1c3f086d21d46a36b52e1c3d3", kill_on_drop: false }` [INFO] [stdout] a9027935f5297fd8903009e58c63c9c2068906b1c3f086d21d46a36b52e1c3d3