[INFO] cloning repository https://github.com/blu-dev/acmd-porter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blu-dev/acmd-porter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblu-dev%2Facmd-porter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblu-dev%2Facmd-porter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 596c88e0272dce5967a05807ef235ba52804c6bb [INFO] checking blu-dev/acmd-porter against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblu-dev%2Facmd-porter" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blu-dev/acmd-porter on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blu-dev/acmd-porter [INFO] finished tweaking git repo https://github.com/blu-dev/acmd-porter [INFO] tweaked toml for git repo https://github.com/blu-dev/acmd-porter written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/blu-dev/acmd-porter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 909dfea0dfc36e53aa4aa95a092f12030a163bc08b600f601d68fb39757ba1a4 [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" "909dfea0dfc36e53aa4aa95a092f12030a163bc08b600f601d68fb39757ba1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "909dfea0dfc36e53aa4aa95a092f12030a163bc08b600f601d68fb39757ba1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909dfea0dfc36e53aa4aa95a092f12030a163bc08b600f601d68fb39757ba1a4", kill_on_drop: false }` [INFO] [stdout] 909dfea0dfc36e53aa4aa95a092f12030a163bc08b600f601d68fb39757ba1a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd13cb918376998fb50e09d382101d8ae115ef28302c3dcc7abd9eda3447a958 [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" "dd13cb918376998fb50e09d382101d8ae115ef28302c3dcc7abd9eda3447a958", kill_on_drop: false }` [INFO] [stderr] Checking acmd-porterv3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::acmd` [INFO] [stdout] --> src/syntax.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::acmd; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::acmd` [INFO] [stdout] --> src/syntax.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::acmd; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paren` [INFO] [stdout] --> src/syntax.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let paren = statement.find("("); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paren` [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/syntax.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut chars = current_str.chars(); [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: unused variable: `paren` [INFO] [stdout] --> src/syntax.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let paren = statement.find("("); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paren` [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/syntax.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let mut out = arg.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/utils.rs:73:66 [INFO] [stdout] | [INFO] [stdout] 73 | panic!("Failed to find closing delimiter }"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 73 | panic!("{}", "Failed to find closing delimiter }"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/syntax.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | if cur == questionable.into_iter().collect::() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/syntax.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut chars = current_str.chars(); [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: variable does not need to be mutable [INFO] [stdout] --> src/syntax.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let mut out = arg.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | backup_file.write(src.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | out_file.write(output.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/utils.rs:73:66 [INFO] [stdout] | [INFO] [stdout] 73 | panic!("Failed to find closing delimiter }"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 73 | panic!("{}", "Failed to find closing delimiter }"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/syntax.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | if cur == questionable.into_iter().collect::() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | backup_file.write(src.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | out_file.write(output.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "dd13cb918376998fb50e09d382101d8ae115ef28302c3dcc7abd9eda3447a958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd13cb918376998fb50e09d382101d8ae115ef28302c3dcc7abd9eda3447a958", kill_on_drop: false }` [INFO] [stdout] dd13cb918376998fb50e09d382101d8ae115ef28302c3dcc7abd9eda3447a958