[INFO] cloning repository https://github.com/mitchhentges/lcov-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mitchhentges/lcov-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchhentges%2Flcov-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchhentges%2Flcov-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91156db347a6c35ecfb789db8672f1d0baae9df2 [INFO] checking mitchhentges/lcov-rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchhentges%2Flcov-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mitchhentges/lcov-rs 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 git repo https://github.com/mitchhentges/lcov-rs [INFO] finished tweaking git repo https://github.com/mitchhentges/lcov-rs [INFO] tweaked toml for git repo https://github.com/mitchhentges/lcov-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mitchhentges/lcov-rs 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.0.0 [INFO] [stderr] Downloaded either v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f2f5519c6cf517a634442fa37e2870e7a9169b133055c1c2fc100214d71eacde [INFO] running `Command { std: "docker" "start" "-a" "f2f5519c6cf517a634442fa37e2870e7a9169b133055c1c2fc100214d71eacde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2f5519c6cf517a634442fa37e2870e7a9169b133055c1c2fc100214d71eacde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f5519c6cf517a634442fa37e2870e7a9169b133055c1c2fc100214d71eacde", kill_on_drop: false }` [INFO] [stdout] f2f5519c6cf517a634442fa37e2870e7a9169b133055c1c2fc100214d71eacde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7de4156b93d8d91770dbb26a1d69ef2339c339ac22e43540eeb4e3794e835acd [INFO] running `Command { std: "docker" "start" "-a" "7de4156b93d8d91770dbb26a1d69ef2339c339ac22e43540eeb4e3794e835acd", kill_on_drop: false }` [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking lcov-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | writeln!(std::io::stderr(), "Failed to open {}:{}", &gcno_path, e.description()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:152:79 [INFO] [stdout] | [INFO] [stdout] 152 | writeln!(std::io::stderr(), "Failed to open {}:{}", &gcda_path, e.description()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | writeln!(std::io::stderr(), "Failed to open {}:{}", &gcno_path, e.description()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:152:79 [INFO] [stdout] | [INFO] [stdout] 152 | writeln!(std::io::stderr(), "Failed to open {}:{}", &gcda_path, e.description()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_output_path` [INFO] [stdout] --> src/main.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | fn read_gcda(gcda_path: &str, tmp_output_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARC_ON_TREE` is never used [INFO] [stdout] --> src/main.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const ARC_ON_TREE: u32 = 1 << 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src_path` and `functions` are never read [INFO] [stdout] --> src/main.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 383 | struct FileNotes { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 384 | src_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 385 | functions: Vec [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileNotes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier`, `line_number_checksum`, `config_checksum`, `name`, and `line_number` are never read [INFO] [stdout] --> src/main.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 389 | struct FunctionNotes { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 390 | identifier: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | line_number_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 392 | config_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | src_path: String, [INFO] [stdout] 394 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 395 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionNotes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination_block` and `flags` are never read [INFO] [stdout] --> src/main.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 406 | struct ArcNotes { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 407 | destination_block: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 408 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArcNotes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_on_tree` is never used [INFO] [stdout] --> src/main.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 411 | impl ArcNotes { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 412 | fn is_on_tree(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number_checksum` and `config_checksum` are never read [INFO] [stdout] --> src/main.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 418 | struct FunctionReference { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 419 | identifier: u32, [INFO] [stdout] 420 | line_number_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 421 | config_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function_id` and `counts` are never read [INFO] [stdout] --> src/main.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 428 | struct CountsRecord { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 429 | function_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 430 | counts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountsRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/main.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 445 | struct BlockRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 446 | flags: u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_path` is never read [INFO] [stdout] --> src/main.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | struct LineRecord { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 451 | src_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_output_path` [INFO] [stdout] --> src/main.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | fn read_gcda(gcda_path: &str, tmp_output_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARC_ON_TREE` is never used [INFO] [stdout] --> src/main.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const ARC_ON_TREE: u32 = 1 << 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src_path` and `functions` are never read [INFO] [stdout] --> src/main.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 383 | struct FileNotes { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 384 | src_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 385 | functions: Vec [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileNotes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier`, `line_number_checksum`, `config_checksum`, `name`, and `line_number` are never read [INFO] [stdout] --> src/main.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 389 | struct FunctionNotes { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 390 | identifier: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | line_number_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 392 | config_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | src_path: String, [INFO] [stdout] 394 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 395 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionNotes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination_block` and `flags` are never read [INFO] [stdout] --> src/main.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 406 | struct ArcNotes { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 407 | destination_block: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 408 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArcNotes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_on_tree` is never used [INFO] [stdout] --> src/main.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 411 | impl ArcNotes { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 412 | fn is_on_tree(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number_checksum` and `config_checksum` are never read [INFO] [stdout] --> src/main.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 418 | struct FunctionReference { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 419 | identifier: u32, [INFO] [stdout] 420 | line_number_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 421 | config_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function_id` and `counts` are never read [INFO] [stdout] --> src/main.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 428 | struct CountsRecord { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 429 | function_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 430 | counts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountsRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/main.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 445 | struct BlockRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 446 | flags: u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_path` is never read [INFO] [stdout] --> src/main.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | struct LineRecord { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 451 | src_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "7de4156b93d8d91770dbb26a1d69ef2339c339ac22e43540eeb4e3794e835acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de4156b93d8d91770dbb26a1d69ef2339c339ac22e43540eeb4e3794e835acd", kill_on_drop: false }` [INFO] [stdout] 7de4156b93d8d91770dbb26a1d69ef2339c339ac22e43540eeb4e3794e835acd