[INFO] fetching crate ReplaceInFile 0.1.1... [INFO] testing ReplaceInFile-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ReplaceInFile 0.1.1 into /workspace/builds/worker-109/source [INFO] validating manifest of crates.io crate ReplaceInFile 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ReplaceInFile 0.1.1 [INFO] finished tweaking crates.io crate ReplaceInFile 0.1.1 [INFO] tweaked toml for crates.io crate ReplaceInFile 0.1.1 written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate crates.io crate ReplaceInFile 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e00a9d81e14e9a901298da954b382069f651e14f46a932c687b61204d0611679 [INFO] running `Command { std: "docker" "start" "-a" "e00a9d81e14e9a901298da954b382069f651e14f46a932c687b61204d0611679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e00a9d81e14e9a901298da954b382069f651e14f46a932c687b61204d0611679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00a9d81e14e9a901298da954b382069f651e14f46a932c687b61204d0611679", kill_on_drop: false }` [INFO] [stdout] e00a9d81e14e9a901298da954b382069f651e14f46a932c687b61204d0611679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e38671966d1980dccb06471e5940e2b9e472aee20dc8225f8caa6d045cd78233 [INFO] running `Command { std: "docker" "start" "-a" "e38671966d1980dccb06471e5940e2b9e472aee20dc8225f8caa6d045cd78233", kill_on_drop: false }` [INFO] [stderr] Compiling ReplaceInFile v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `Replace` [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn Replace(phrase: &String, content: String, replace: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ReplaceInFile` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `replace_in_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fs::write(filename, str); [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: function `Replace` should have a snake case name [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn Replace(phrase: &String, content: String, replace: &String) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `replace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::replace` that must be used [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | content.replace(phrase, &replace); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the replaced string as a new allocation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "e38671966d1980dccb06471e5940e2b9e472aee20dc8225f8caa6d045cd78233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38671966d1980dccb06471e5940e2b9e472aee20dc8225f8caa6d045cd78233", kill_on_drop: false }` [INFO] [stdout] e38671966d1980dccb06471e5940e2b9e472aee20dc8225f8caa6d045cd78233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bae15db0fa631633865c08083cb7da5e2396c7e5a72f8611eed71c574f5c53f3 [INFO] running `Command { std: "docker" "start" "-a" "bae15db0fa631633865c08083cb7da5e2396c7e5a72f8611eed71c574f5c53f3", kill_on_drop: false }` [INFO] [stderr] Compiling ReplaceInFile v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `Replace` [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn Replace(phrase: &String, content: String, replace: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ReplaceInFile` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `replace_in_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fs::write(filename, str); [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: function `Replace` should have a snake case name [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn Replace(phrase: &String, content: String, replace: &String) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `replace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::replace` that must be used [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | content.replace(phrase, &replace); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the replaced string as a new allocation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ReplaceInFile-fb40ae32f8950fa2) [INFO] running `Command { std: "docker" "inspect" "bae15db0fa631633865c08083cb7da5e2396c7e5a72f8611eed71c574f5c53f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae15db0fa631633865c08083cb7da5e2396c7e5a72f8611eed71c574f5c53f3", kill_on_drop: false }` [INFO] [stdout] bae15db0fa631633865c08083cb7da5e2396c7e5a72f8611eed71c574f5c53f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fabfb3d07e53ea87c981baf0b56c79f06880438f29d85e59189d35ff7c5e00c8 [INFO] running `Command { std: "docker" "start" "-a" "fabfb3d07e53ea87c981baf0b56c79f06880438f29d85e59189d35ff7c5e00c8", 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] [stderr] warning: function is never used: `Replace` [INFO] [stderr] --> src/main.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn Replace(phrase: &String, content: String, replace: &String) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `ReplaceInFile` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `replace_in_file` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | fs::write(filename, str); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: function `Replace` should have a snake case name [INFO] [stderr] --> src/main.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn Replace(phrase: &String, content: String, replace: &String) -> String { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `replace` [INFO] [stderr] [INFO] [stderr] warning: unused return value of `str::::replace` that must be used [INFO] [stderr] --> src/main.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | content.replace(phrase, &replace); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this returns the replaced string as a new allocation, without modifying the original [INFO] [stderr] [INFO] [stderr] warning: `ReplaceInFile` (bin "ReplaceInFile" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ReplaceInFile-fb40ae32f8950fa2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fabfb3d07e53ea87c981baf0b56c79f06880438f29d85e59189d35ff7c5e00c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fabfb3d07e53ea87c981baf0b56c79f06880438f29d85e59189d35ff7c5e00c8", kill_on_drop: false }` [INFO] [stdout] fabfb3d07e53ea87c981baf0b56c79f06880438f29d85e59189d35ff7c5e00c8