[INFO] fetching crate unit9 0.1.0... [INFO] checking unit9-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate unit9 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate unit9 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unit9 0.1.0 [INFO] finished tweaking crates.io crate unit9 0.1.0 [INFO] tweaked toml for crates.io crate unit9 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate unit9 0.1.0 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f483cb9cafb9583e4d222e8faa7d3d31879d0e8ba5d23277d5db65920809f43 [INFO] running `Command { std: "docker" "start" "-a" "3f483cb9cafb9583e4d222e8faa7d3d31879d0e8ba5d23277d5db65920809f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f483cb9cafb9583e4d222e8faa7d3d31879d0e8ba5d23277d5db65920809f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f483cb9cafb9583e4d222e8faa7d3d31879d0e8ba5d23277d5db65920809f43", kill_on_drop: false }` [INFO] [stdout] 3f483cb9cafb9583e4d222e8faa7d3d31879d0e8ba5d23277d5db65920809f43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bddfee72477f15a27beef00484df73f68ea571a21c7c3e26a6e9231b0da12774 [INFO] running `Command { std: "docker" "start" "-a" "bddfee72477f15a27beef00484df73f68ea571a21c7c3e26a6e9231b0da12774", kill_on_drop: false }` [INFO] [stderr] Checking unit9 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let file = File::create(file_path).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let file = File::open(file_path).expect(""); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(file) => { println!("打开文件成功"); } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok(file) = file_create_result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_open_result` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let file_open_result = File::open(file_path).map_err(|err| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_open_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_create_result` [INFO] [stdout] --> src/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let file_create_result = File::create(file_path).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_create_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:57:78 [INFO] [stdout] | [INFO] [stdout] 57 | let file_create_result = File::create(file_path).unwrap_or_else(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `panic` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn panic() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `panic_shortcut` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn panic_shortcut(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result_ordinary` is never used [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn result_ordinary(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result_closure` is never used [INFO] [stdout] --> src/main.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn result_closure(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let file = File::create(file_path).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let file = File::open(file_path).expect(""); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(file) => { println!("打开文件成功"); } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok(file) = file_create_result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_open_result` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let file_open_result = File::open(file_path).map_err(|err| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_open_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_create_result` [INFO] [stdout] --> src/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let file_create_result = File::create(file_path).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_create_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:57:78 [INFO] [stdout] | [INFO] [stdout] 57 | let file_create_result = File::create(file_path).unwrap_or_else(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `panic` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn panic() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `panic_shortcut` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn panic_shortcut(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result_ordinary` is never used [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn result_ordinary(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result_closure` is never used [INFO] [stdout] --> src/main.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn result_closure(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "bddfee72477f15a27beef00484df73f68ea571a21c7c3e26a6e9231b0da12774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bddfee72477f15a27beef00484df73f68ea571a21c7c3e26a6e9231b0da12774", kill_on_drop: false }` [INFO] [stdout] bddfee72477f15a27beef00484df73f68ea571a21c7c3e26a6e9231b0da12774