[INFO] cloning repository https://github.com/merq-rodriguez/write-then-read-files-with-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/merq-rodriguez/write-then-read-files-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmerq-rodriguez%2Fwrite-then-read-files-with-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmerq-rodriguez%2Fwrite-then-read-files-with-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e85c3e527415199aad53843a8e4eec5d2b2d57e
[INFO] testing merq-rodriguez/write-then-read-files-with-rust against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmerq-rodriguez%2Fwrite-then-read-files-with-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/merq-rodriguez/write-then-read-files-with-rust
[INFO] finished tweaking git repo https://github.com/merq-rodriguez/write-then-read-files-with-rust
[INFO] tweaked toml for git repo https://github.com/merq-rodriguez/write-then-read-files-with-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/merq-rodriguez/write-then-read-files-with-rust on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/merq-rodriguez/write-then-read-files-with-rust 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aba1af21216a60382789662e41fdbe77a329bec23aaa3a88a82159148fc0fc7d
[INFO] running `Command { std: "docker" "start" "-a" "aba1af21216a60382789662e41fdbe77a329bec23aaa3a88a82159148fc0fc7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aba1af21216a60382789662e41fdbe77a329bec23aaa3a88a82159148fc0fc7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aba1af21216a60382789662e41fdbe77a329bec23aaa3a88a82159148fc0fc7d", kill_on_drop: false }`
[INFO] [stdout] aba1af21216a60382789662e41fdbe77a329bec23aaa3a88a82159148fc0fc7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 843b104e983402659fb5433666c60f64842091a27f7f6a2e6894dcd7a977f19f
[INFO] running `Command { std: "docker" "start" "-a" "843b104e983402659fb5433666c60f64842091a27f7f6a2e6894dcd7a977f19f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling getrandom v0.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling rand_core v0.6.0
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand v0.8.0
[INFO] [stderr]    Compiling write_then_read_files v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]   --> src/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn read_file(file_name: String) -> File {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getSample` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn getSample() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getSample` should have a snake case name
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn getSample() {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `get_sample`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.03s
[INFO] running `Command { std: "docker" "inspect" "843b104e983402659fb5433666c60f64842091a27f7f6a2e6894dcd7a977f19f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "843b104e983402659fb5433666c60f64842091a27f7f6a2e6894dcd7a977f19f", kill_on_drop: false }`
[INFO] [stdout] 843b104e983402659fb5433666c60f64842091a27f7f6a2e6894dcd7a977f19f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 79be5922407b659ce80084d19ea4add6944b78a98eeeba57c27370fed2dfdd3f
[INFO] running `Command { std: "docker" "start" "-a" "79be5922407b659ce80084d19ea4add6944b78a98eeeba57c27370fed2dfdd3f", kill_on_drop: false }`
[INFO] [stderr]    Compiling write_then_read_files v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]   --> src/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn read_file(file_name: String) -> File {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getSample` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn getSample() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getSample` should have a snake case name
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn getSample() {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `get_sample`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "79be5922407b659ce80084d19ea4add6944b78a98eeeba57c27370fed2dfdd3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79be5922407b659ce80084d19ea4add6944b78a98eeeba57c27370fed2dfdd3f", kill_on_drop: false }`
[INFO] [stdout] 79be5922407b659ce80084d19ea4add6944b78a98eeeba57c27370fed2dfdd3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 349295f1d6131ef0de995b8573d71ca7843612390fff7587d52afdbdc599990f
[INFO] running `Command { std: "docker" "start" "-a" "349295f1d6131ef0de995b8573d71ca7843612390fff7587d52afdbdc599990f", kill_on_drop: false }`
[INFO] [stderr] warning: function `read_file` is never used
[INFO] [stderr]   --> src/main.rs:21:4
[INFO] [stderr]    |
[INFO] [stderr] 21 | fn read_file(file_name: String) -> File {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `getSample` is never used
[INFO] [stderr]   --> src/main.rs:29:4
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn getSample() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `getSample` should have a snake case name
[INFO] [stderr]   --> src/main.rs:29:4
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn getSample() {
[INFO] [stderr]    |    ^^^^^^^^^ help: convert the identifier to snake case: `get_sample`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `write_then_read_files` (bin "write_then_read_files" test) generated 3 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/write_then_read_files-860f5a036bab55f1)
[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" "349295f1d6131ef0de995b8573d71ca7843612390fff7587d52afdbdc599990f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "349295f1d6131ef0de995b8573d71ca7843612390fff7587d52afdbdc599990f", kill_on_drop: false }`
[INFO] [stdout] 349295f1d6131ef0de995b8573d71ca7843612390fff7587d52afdbdc599990f
