[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] testing m-bra/swirl against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-bra%2Fswirl" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/m-bra/swirl on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca6c324278b8693b6e7bc30f0e3644b1f706b8f187a06ca4c768d76933b0e835 [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" "ca6c324278b8693b6e7bc30f0e3644b1f706b8f187a06ca4c768d76933b0e835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca6c324278b8693b6e7bc30f0e3644b1f706b8f187a06ca4c768d76933b0e835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca6c324278b8693b6e7bc30f0e3644b1f706b8f187a06ca4c768d76933b0e835", kill_on_drop: false }` [INFO] [stdout] ca6c324278b8693b6e7bc30f0e3644b1f706b8f187a06ca4c768d76933b0e835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e3cc41c60a7f7f8fb176f733c475d2b2f23f1385a2cbae544df45536f54c8a [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" "98e3cc41c60a7f7f8fb176f733c475d2b2f23f1385a2cbae544df45536f54c8a", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling finally-block v0.2.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling swirl v0.1.0 (/opt/rustwide/workdir) [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] [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] [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] Finished dev [unoptimized + debuginfo] target(s) in 43.01s [INFO] running `Command { std: "docker" "inspect" "98e3cc41c60a7f7f8fb176f733c475d2b2f23f1385a2cbae544df45536f54c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e3cc41c60a7f7f8fb176f733c475d2b2f23f1385a2cbae544df45536f54c8a", kill_on_drop: false }` [INFO] [stdout] 98e3cc41c60a7f7f8fb176f733c475d2b2f23f1385a2cbae544df45536f54c8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bc754a798d14be774a15f46819ebe7c85505c24061797c9fc2cc6d6881301e2 [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" "4bc754a798d14be774a15f46819ebe7c85505c24061797c9fc2cc6d6881301e2", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4bc754a798d14be774a15f46819ebe7c85505c24061797c9fc2cc6d6881301e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc754a798d14be774a15f46819ebe7c85505c24061797c9fc2cc6d6881301e2", kill_on_drop: false }` [INFO] [stdout] 4bc754a798d14be774a15f46819ebe7c85505c24061797c9fc2cc6d6881301e2