[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/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/NotLeet/rust-file-manipulation'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/NotLeet/rust-file-manipulation" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/NotLeet/rust-file-manipulation"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of NotLeet/rust-file-manipulation on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-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-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking NotLeet/rust-file-manipulation against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 357b9d9f0ada00cb9c8334561a28dfb01ebf36aef5dc6e6a919424b46151fe9c [INFO] running `"docker" "start" "-a" "357b9d9f0ada00cb9c8334561a28dfb01ebf36aef5dc6e6a919424b46151fe9c"` [INFO] [stderr] Checking 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] 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.89s [INFO] running `"docker" "inspect" "357b9d9f0ada00cb9c8334561a28dfb01ebf36aef5dc6e6a919424b46151fe9c"` [INFO] running `"docker" "rm" "-f" "357b9d9f0ada00cb9c8334561a28dfb01ebf36aef5dc6e6a919424b46151fe9c"` [INFO] [stdout] 357b9d9f0ada00cb9c8334561a28dfb01ebf36aef5dc6e6a919424b46151fe9c