[INFO] cloning repository https://github.com/kokkiemouse/arch-pkgbuild-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kokkiemouse/arch-pkgbuild-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokkiemouse%2Farch-pkgbuild-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokkiemouse%2Farch-pkgbuild-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e55ffa1b10eeb19c5ace247e141db613e555143 [INFO] building kokkiemouse/arch-pkgbuild-parser against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokkiemouse%2Farch-pkgbuild-parser" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kokkiemouse/arch-pkgbuild-parser on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kokkiemouse/arch-pkgbuild-parser [INFO] finished tweaking git repo https://github.com/kokkiemouse/arch-pkgbuild-parser [INFO] tweaked toml for git repo https://github.com/kokkiemouse/arch-pkgbuild-parser written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kokkiemouse/arch-pkgbuild-parser already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac602c2db99106f17dab88d6203ee6cb451be391886e4a0f7a15d220d6c6b719 [INFO] running `Command { std: "docker" "start" "-a" "ac602c2db99106f17dab88d6203ee6cb451be391886e4a0f7a15d220d6c6b719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac602c2db99106f17dab88d6203ee6cb451be391886e4a0f7a15d220d6c6b719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac602c2db99106f17dab88d6203ee6cb451be391886e4a0f7a15d220d6c6b719", kill_on_drop: false }` [INFO] [stdout] ac602c2db99106f17dab88d6203ee6cb451be391886e4a0f7a15d220d6c6b719 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41bdaa4e086a7c93cded645bd73b28b29ddea110b953d6284c8b4f777caf101d [INFO] running `Command { std: "docker" "start" "-a" "41bdaa4e086a7c93cded645bd73b28b29ddea110b953d6284c8b4f777caf101d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling arch-pkgbuild-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | if(!depends_searched){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if(!depends_searched){ [INFO] [stdout] 42 + if !depends_searched { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if(!makedepends_enable){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if(!makedepends_enable){ [INFO] [stdout] 48 + if !makedepends_enable { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | }else if (!depends_ended){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - }else if (!depends_ended){ [INFO] [stdout] 85 + }else if !depends_ended { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depends_count` [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut depends_count:i64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depends_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copy_depends_str` [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let copy_depends_str:String = file_data_cut.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_copy_depends_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PKGBUILD_PATH` should have a snake case name [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let PKGBUILD_PATH; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `pkgbuild_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.54s [INFO] running `Command { std: "docker" "inspect" "41bdaa4e086a7c93cded645bd73b28b29ddea110b953d6284c8b4f777caf101d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41bdaa4e086a7c93cded645bd73b28b29ddea110b953d6284c8b4f777caf101d", kill_on_drop: false }` [INFO] [stdout] 41bdaa4e086a7c93cded645bd73b28b29ddea110b953d6284c8b4f777caf101d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23b646c45119aaa5bf5bddf6cb9fa2decf19227d4b7dffd4fe270dcc11d3c959 [INFO] running `Command { std: "docker" "start" "-a" "23b646c45119aaa5bf5bddf6cb9fa2decf19227d4b7dffd4fe270dcc11d3c959", kill_on_drop: false }` [INFO] [stderr] Compiling arch-pkgbuild-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | if(!depends_searched){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if(!depends_searched){ [INFO] [stdout] 42 + if !depends_searched { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if(!makedepends_enable){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if(!makedepends_enable){ [INFO] [stdout] 48 + if !makedepends_enable { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | }else if (!depends_ended){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - }else if (!depends_ended){ [INFO] [stdout] 85 + }else if !depends_ended { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depends_count` [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut depends_count:i64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depends_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copy_depends_str` [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let copy_depends_str:String = file_data_cut.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_copy_depends_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PKGBUILD_PATH` should have a snake case name [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let PKGBUILD_PATH; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `pkgbuild_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "23b646c45119aaa5bf5bddf6cb9fa2decf19227d4b7dffd4fe270dcc11d3c959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b646c45119aaa5bf5bddf6cb9fa2decf19227d4b7dffd4fe270dcc11d3c959", kill_on_drop: false }` [INFO] [stdout] 23b646c45119aaa5bf5bddf6cb9fa2decf19227d4b7dffd4fe270dcc11d3c959