[INFO] cloning repository https://github.com/hemangandhi/step_grep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hemangandhi/step_grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Fstep_grep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Fstep_grep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2daa06bab3703810e4a7fd3f41249c7239dbc26 [INFO] building hemangandhi/step_grep 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%2Fhemangandhi%2Fstep_grep" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hemangandhi/step_grep 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/hemangandhi/step_grep [INFO] finished tweaking git repo https://github.com/hemangandhi/step_grep [INFO] tweaked toml for git repo https://github.com/hemangandhi/step_grep written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hemangandhi/step_grep 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fraction v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a8ed824273d8b1474c9193115871e028da4fafa74f1ae5432bf0b0850784e3fc [INFO] running `Command { std: "docker" "start" "-a" "a8ed824273d8b1474c9193115871e028da4fafa74f1ae5432bf0b0850784e3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8ed824273d8b1474c9193115871e028da4fafa74f1ae5432bf0b0850784e3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ed824273d8b1474c9193115871e028da4fafa74f1ae5432bf0b0850784e3fc", kill_on_drop: false }` [INFO] [stdout] a8ed824273d8b1474c9193115871e028da4fafa74f1ae5432bf0b0850784e3fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0c99b3dadef15c7d16e35722a742b27f2fb287295d52de9d608c53a515b96069 [INFO] running `Command { std: "docker" "start" "-a" "0c99b3dadef15c7d16e35722a742b27f2fb287295d52de9d608c53a515b96069", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling fraction v0.10.0 [INFO] [stderr] Compiling step_grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `v_` [INFO] [stdout] --> src/parse_file.rs:548:24 [INFO] [stdout] | [INFO] [stdout] 548 | .filter(|(&k, &v_)| k.starts_with("NOTES")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_doubles` is never used [INFO] [stdout] --> src/parse_file.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl Note { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 122 | pub fn is_doubles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_doubles` is never used [INFO] [stdout] --> src/parse_file.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl StepNote { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 147 | pub fn is_doubles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_doubles` is never used [INFO] [stdout] --> src/parse_file.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl Step { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 241 | pub fn is_doubles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetFilePath` is never used [INFO] [stdout] --> src/parse_file.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn GetFilePath(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/parse_file.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 496 | impl StepChart { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 497 | pub fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SongPack` is never constructed [INFO] [stdout] --> src/parse_file.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 597 | pub struct SongPack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parse_file.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | mem::replace(to_chord, ch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = mem::replace(to_chord, ch); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parse_file.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | mem::replace(self, new_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 335 | let _ = mem::replace(self, new_state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parse_file.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | mem::replace(self, new_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 360 | let _ = mem::replace(self, new_state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetFilePath` should have a snake case name [INFO] [stdout] --> src/parse_file.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn GetFilePath(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_file_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 7.46s [INFO] running `Command { std: "docker" "inspect" "0c99b3dadef15c7d16e35722a742b27f2fb287295d52de9d608c53a515b96069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c99b3dadef15c7d16e35722a742b27f2fb287295d52de9d608c53a515b96069", kill_on_drop: false }` [INFO] [stdout] 0c99b3dadef15c7d16e35722a742b27f2fb287295d52de9d608c53a515b96069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 19257e0471ac01668cebd9bc72b432971ed340f57d65f7e34c769f49ed38bfa7 [INFO] running `Command { std: "docker" "start" "-a" "19257e0471ac01668cebd9bc72b432971ed340f57d65f7e34c769f49ed38bfa7", kill_on_drop: false }` [INFO] [stderr] Compiling step_grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `v_` [INFO] [stdout] --> src/parse_file.rs:548:24 [INFO] [stdout] | [INFO] [stdout] 548 | .filter(|(&k, &v_)| k.starts_with("NOTES")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_doubles` is never used [INFO] [stdout] --> src/parse_file.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl Note { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 122 | pub fn is_doubles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_doubles` is never used [INFO] [stdout] --> src/parse_file.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl StepNote { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 147 | pub fn is_doubles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_doubles` is never used [INFO] [stdout] --> src/parse_file.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl Step { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 241 | pub fn is_doubles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetFilePath` is never used [INFO] [stdout] --> src/parse_file.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn GetFilePath(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/parse_file.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 496 | impl StepChart { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 497 | pub fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SongPack` is never constructed [INFO] [stdout] --> src/parse_file.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 597 | pub struct SongPack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parse_file.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | mem::replace(to_chord, ch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = mem::replace(to_chord, ch); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parse_file.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | mem::replace(self, new_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 335 | let _ = mem::replace(self, new_state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parse_file.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | mem::replace(self, new_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 360 | let _ = mem::replace(self, new_state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetFilePath` should have a snake case name [INFO] [stdout] --> src/parse_file.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn GetFilePath(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_file_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 1.26s [INFO] running `Command { std: "docker" "inspect" "19257e0471ac01668cebd9bc72b432971ed340f57d65f7e34c769f49ed38bfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19257e0471ac01668cebd9bc72b432971ed340f57d65f7e34c769f49ed38bfa7", kill_on_drop: false }` [INFO] [stdout] 19257e0471ac01668cebd9bc72b432971ed340f57d65f7e34c769f49ed38bfa7