[INFO] cloning 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" "clone" "--bare" "https://github.com/m-bra/swirl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-bra%2Fswirl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-bra%2Fswirl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9e79643be2b2dbb350e58e220ba176b0904ce4c [INFO] checking m-bra/swirl against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-bra%2Fswirl" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/m-bra/swirl on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 921ed62a73ef9b5664d2b660d6450a02de9817c94bd95c16b71556fb7aeb6bf9 [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" "921ed62a73ef9b5664d2b660d6450a02de9817c94bd95c16b71556fb7aeb6bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "921ed62a73ef9b5664d2b660d6450a02de9817c94bd95c16b71556fb7aeb6bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921ed62a73ef9b5664d2b660d6450a02de9817c94bd95c16b71556fb7aeb6bf9", kill_on_drop: false }` [INFO] [stdout] 921ed62a73ef9b5664d2b660d6450a02de9817c94bd95c16b71556fb7aeb6bf9 [INFO] running `Command { std: "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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb39d4b40e24361a5d63f678c292e38bcc799e99137791cd4120a41b871f3beb [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" "bb39d4b40e24361a5d63f678c292e38bcc799e99137791cd4120a41b871f3beb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking finally-block v0.2.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking meval v0.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Checking swirl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/mmatch/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | match_rule_invoc("::rule text"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mmatch/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn match_rule_invoc<'a>(input: &'a Input, rules: &Rules) -> MatchResult<(&'a Input, Invocation)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/mmatch/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | match_rule_invoc(":name:rule text"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mmatch/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn match_rule_invoc<'a>(input: &'a Input, rules: &Rules) -> MatchResult<(&'a Input, Invocation)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/mmatch/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | match_rule_invoc(":name:: text").is_err() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mmatch/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn match_rule_invoc<'a>(input: &'a Input, rules: &Rules) -> MatchResult<(&'a Input, Invocation)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/mmatch/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | match_rule_invoc("text :name:rule").is_err() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mmatch/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn match_rule_invoc<'a>(input: &'a Input, rules: &Rules) -> MatchResult<(&'a Input, Invocation)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swirl` [INFO] [stdout] warning: value assigned to `frame_result` is never read [INFO] [stdout] --> src/mmatch/match_rule_variant.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | let mut frame_result = Ok(("", InvocStrResult::empty())); // result of current frame [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/types/rule_variant.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut is_stepping = args.any(|s| s == "--step" || s == "-s"); [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: static variable `first` should have an upper case name [INFO] [stdout] --> src/mmatch/match_rule_variant.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | static mut first: bool = true; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FIRST` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bb39d4b40e24361a5d63f678c292e38bcc799e99137791cd4120a41b871f3beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb39d4b40e24361a5d63f678c292e38bcc799e99137791cd4120a41b871f3beb", kill_on_drop: false }` [INFO] [stdout] bb39d4b40e24361a5d63f678c292e38bcc799e99137791cd4120a41b871f3beb