[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.38-1/sources/1.37.0/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of NotLeet/rust-file-manipulation on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing NotLeet/rust-file-manipulation against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "build" "--frozen"` [INFO] [stdout] 1e9cb540df694302870fabf5c06a88cdf8a8aae979e1f60e8ea2350737c05268 [INFO] running `"docker" "start" "-a" "1e9cb540df694302870fabf5c06a88cdf8a8aae979e1f60e8ea2350737c05268"` [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.84s [INFO] running `"docker" "inspect" "1e9cb540df694302870fabf5c06a88cdf8a8aae979e1f60e8ea2350737c05268"` [INFO] running `"docker" "rm" "-f" "1e9cb540df694302870fabf5c06a88cdf8a8aae979e1f60e8ea2350737c05268"` [INFO] [stdout] 1e9cb540df694302870fabf5c06a88cdf8a8aae979e1f60e8ea2350737c05268 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] e72329fe19b5ed37956033853855536ec2227bf23d96a23593a895f75dfde789 [INFO] running `"docker" "start" "-a" "e72329fe19b5ed37956033853855536ec2227bf23d96a23593a895f75dfde789"` [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.65s [INFO] running `"docker" "inspect" "e72329fe19b5ed37956033853855536ec2227bf23d96a23593a895f75dfde789"` [INFO] running `"docker" "rm" "-f" "e72329fe19b5ed37956033853855536ec2227bf23d96a23593a895f75dfde789"` [INFO] [stdout] e72329fe19b5ed37956033853855536ec2227bf23d96a23593a895f75dfde789 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "test" "--frozen"` [INFO] [stdout] e19a7ef695023fff86122a6e906b2c4e8d769eeb30641d26b40cb3464344377a [INFO] running `"docker" "start" "-a" "e19a7ef695023fff86122a6e906b2c4e8d769eeb30641d26b40cb3464344377a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/read_file-828c13b22fe21f53 [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" "e19a7ef695023fff86122a6e906b2c4e8d769eeb30641d26b40cb3464344377a"` [INFO] running `"docker" "rm" "-f" "e19a7ef695023fff86122a6e906b2c4e8d769eeb30641d26b40cb3464344377a"` [INFO] [stdout] e19a7ef695023fff86122a6e906b2c4e8d769eeb30641d26b40cb3464344377a