[INFO] updating cached repository NotLeet/rust-file-manipulation [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/NotLeet/rust-file-manipulation [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/NotLeet/rust-file-manipulation" "work/ex/beta-1.37-6/sources/1.36.0/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/NotLeet/rust-file-manipulation'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/NotLeet/rust-file-manipulation" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of NotLeet/rust-file-manipulation on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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/beta-1.37-6/sources/1.36.0/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/beta-1.37-6/sources/beta-2019-07-23/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" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing NotLeet/rust-file-manipulation against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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=warn" "-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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 85c9315f561533182c34f05ed047297e68e708312feae2935198b5e7e9002487 [INFO] running `"docker" "start" "-a" "85c9315f561533182c34f05ed047297e68e708312feae2935198b5e7e9002487"` [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.02s [INFO] running `"docker" "inspect" "85c9315f561533182c34f05ed047297e68e708312feae2935198b5e7e9002487"` [INFO] running `"docker" "rm" "-f" "85c9315f561533182c34f05ed047297e68e708312feae2935198b5e7e9002487"` [INFO] [stdout] 85c9315f561533182c34f05ed047297e68e708312feae2935198b5e7e9002487 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] 4428bdf21ffcf5fb9d6850cce7c973c059c5f99ae157bc38a6bad0fb23ab0ccf [INFO] running `"docker" "start" "-a" "4428bdf21ffcf5fb9d6850cce7c973c059c5f99ae157bc38a6bad0fb23ab0ccf"` [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 0.74s [INFO] running `"docker" "inspect" "4428bdf21ffcf5fb9d6850cce7c973c059c5f99ae157bc38a6bad0fb23ab0ccf"` [INFO] running `"docker" "rm" "-f" "4428bdf21ffcf5fb9d6850cce7c973c059c5f99ae157bc38a6bad0fb23ab0ccf"` [INFO] [stdout] 4428bdf21ffcf5fb9d6850cce7c973c059c5f99ae157bc38a6bad0fb23ab0ccf [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen"` [INFO] [stdout] 40a11a8f8b72e86504dbc3f0e7ce8e30644fbd937119507ed4addd6ea989c348 [INFO] running `"docker" "start" "-a" "40a11a8f8b72e86504dbc3f0e7ce8e30644fbd937119507ed4addd6ea989c348"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/read_file-5646c57aa302d2ef [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" "40a11a8f8b72e86504dbc3f0e7ce8e30644fbd937119507ed4addd6ea989c348"` [INFO] running `"docker" "rm" "-f" "40a11a8f8b72e86504dbc3f0e7ce8e30644fbd937119507ed4addd6ea989c348"` [INFO] [stdout] 40a11a8f8b72e86504dbc3f0e7ce8e30644fbd937119507ed4addd6ea989c348