[INFO] cloning repository NotLeet/rust-file-manipulation [INFO] running `"git" "clone" "--bare" "git://github.com/NotLeet/rust-file-manipulation.git" "work/cache/sources/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/NotLeet/rust-file-manipulation'... [INFO] running `"git" "clone" "work/cache/sources/gh/NotLeet/rust-file-manipulation" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/NotLeet/rust-file-manipulation'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/NotLeet/rust-file-manipulation" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/NotLeet/rust-file-manipulation'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c75de95ac165463be89515ba8807d99d1159fe37 [INFO] sha for GitHub repo NotLeet/rust-file-manipulation: c75de95ac165463be89515ba8807d99d1159fe37 [INFO] validating manifest of NotLeet/rust-file-manipulation on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of NotLeet/rust-file-manipulation on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing NotLeet/rust-file-manipulation [INFO] finished frobbing NotLeet/rust-file-manipulation [INFO] frobbed toml for NotLeet/rust-file-manipulation written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/NotLeet/rust-file-manipulation/Cargo.toml [INFO] started frobbing NotLeet/rust-file-manipulation [INFO] finished frobbing NotLeet/rust-file-manipulation [INFO] frobbed toml for NotLeet/rust-file-manipulation written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/NotLeet/rust-file-manipulation/Cargo.toml [INFO] crate NotLeet/rust-file-manipulation already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing NotLeet/rust-file-manipulation against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/NotLeet/rust-file-manipulation:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 83c631a20b01c22369bae4643ac8a89d0494bceea58fc4a4528811bb1b9c0b89 [INFO] running `"docker" "start" "-a" "83c631a20b01c22369bae4643ac8a89d0494bceea58fc4a4528811bb1b9c0b89"` [INFO] [stderr] Compiling read_file v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `expr` [INFO] [stderr] --> src/main.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | Ok(expr) => { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_expr` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | Err(err) => { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/main.rs:81:20 [INFO] [stderr] | [INFO] [stderr] 81 | fn get_file_number(file_path: &PathBuf) -> i32 { [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_file_path` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_file_number` [INFO] [stderr] --> src/main.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | fn get_file_number(file_path: &PathBuf) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `"docker" "inspect" "83c631a20b01c22369bae4643ac8a89d0494bceea58fc4a4528811bb1b9c0b89"` [INFO] running `"docker" "rm" "-f" "83c631a20b01c22369bae4643ac8a89d0494bceea58fc4a4528811bb1b9c0b89"` [INFO] [stdout] 83c631a20b01c22369bae4643ac8a89d0494bceea58fc4a4528811bb1b9c0b89 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/NotLeet/rust-file-manipulation:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 1755887a80a72cbc2dbe0d27a5d6ba2b0d9bb205365fb65a69e688fd07d738e6 [INFO] running `"docker" "start" "-a" "1755887a80a72cbc2dbe0d27a5d6ba2b0d9bb205365fb65a69e688fd07d738e6"` [INFO] [stderr] Compiling read_file v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `expr` [INFO] [stderr] --> src/main.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | Ok(expr) => { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_expr` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | Err(err) => { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/main.rs:81:20 [INFO] [stderr] | [INFO] [stderr] 81 | fn get_file_number(file_path: &PathBuf) -> i32 { [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_file_path` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_file_number` [INFO] [stderr] --> src/main.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | fn get_file_number(file_path: &PathBuf) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `"docker" "inspect" "1755887a80a72cbc2dbe0d27a5d6ba2b0d9bb205365fb65a69e688fd07d738e6"` [INFO] running `"docker" "rm" "-f" "1755887a80a72cbc2dbe0d27a5d6ba2b0d9bb205365fb65a69e688fd07d738e6"` [INFO] [stdout] 1755887a80a72cbc2dbe0d27a5d6ba2b0d9bb205365fb65a69e688fd07d738e6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/NotLeet/rust-file-manipulation:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 2f694c12707de4ecbd827fb0db6681ba4f89844c7c368e5cd6ab0b61d5ef4ae4 [INFO] running `"docker" "start" "-a" "2f694c12707de4ecbd827fb0db6681ba4f89844c7c368e5cd6ab0b61d5ef4ae4"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/read_file-240115de62ea5d4d [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "2f694c12707de4ecbd827fb0db6681ba4f89844c7c368e5cd6ab0b61d5ef4ae4"` [INFO] running `"docker" "rm" "-f" "2f694c12707de4ecbd827fb0db6681ba4f89844c7c368e5cd6ab0b61d5ef4ae4"` [INFO] [stdout] 2f694c12707de4ecbd827fb0db6681ba4f89844c7c368e5cd6ab0b61d5ef4ae4