[INFO] fetching crate c3d-rs 0.1.7... [INFO] checking c3d-rs-0.1.7 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate c3d-rs 0.1.7 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate c3d-rs 0.1.7 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate c3d-rs 0.1.7 [INFO] finished tweaking crates.io crate c3d-rs 0.1.7 [INFO] tweaked toml for crates.io crate c3d-rs 0.1.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57e8f7669dad5d0f86bcd043189d8021f4dc6dc42b68e1f40f8e01b6fffcaf43 [INFO] running `Command { std: "docker" "start" "-a" "57e8f7669dad5d0f86bcd043189d8021f4dc6dc42b68e1f40f8e01b6fffcaf43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57e8f7669dad5d0f86bcd043189d8021f4dc6dc42b68e1f40f8e01b6fffcaf43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57e8f7669dad5d0f86bcd043189d8021f4dc6dc42b68e1f40f8e01b6fffcaf43", kill_on_drop: false }` [INFO] [stdout] 57e8f7669dad5d0f86bcd043189d8021f4dc6dc42b68e1f40f8e01b6fffcaf43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c6506f16ccc5e482d2cf58b21f3d9730c9f46b2ae58050fdf2cc0bfe675f60f [INFO] running `Command { std: "docker" "start" "-a" "8c6506f16ccc5e482d2cf58b21f3d9730c9f46b2ae58050fdf2cc0bfe675f60f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking value-bag-serde1 v1.9.0 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking c3d-rs v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parameter` is never read [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct C3dReader<'a, R: Read + Seek> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 68 | header: &'a HeaderBlock, [INFO] [stdout] 69 | parameter: &'a ParameterBlock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_chars_size`, `id`, `offset`, and `desc_chars_size` are never read [INFO] [stdout] --> src/lib.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct ParameterFormat { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 610 | // indicates "locked" if value is negative. [INFO] [stdout] 611 | name_chars_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 612 | id: i8, [INFO] [stdout] | ^^ [INFO] [stdout] 613 | pub name: String, [INFO] [stdout] 614 | offset: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | desc_chars_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | ... arr.clone().read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | ... arr.clone().read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:247:33 [INFO] [stdout] | [INFO] [stdout] 247 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:487:33 [INFO] [stdout] | [INFO] [stdout] 487 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking femme v2.2.1 [INFO] [stdout] warning: field `parameter` is never read [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct C3dReader<'a, R: Read + Seek> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 68 | header: &'a HeaderBlock, [INFO] [stdout] 69 | parameter: &'a ParameterBlock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_chars_size`, `id`, `offset`, and `desc_chars_size` are never read [INFO] [stdout] --> src/lib.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct ParameterFormat { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 610 | // indicates "locked" if value is negative. [INFO] [stdout] 611 | name_chars_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 612 | id: i8, [INFO] [stdout] | ^^ [INFO] [stdout] 613 | pub name: String, [INFO] [stdout] 614 | offset: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | desc_chars_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | ... arr.clone().read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | ... arr.clone().read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:247:33 [INFO] [stdout] | [INFO] [stdout] 247 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:487:33 [INFO] [stdout] | [INFO] [stdout] 487 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | ... (arr.clone()).read_exact(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.30s [INFO] running `Command { std: "docker" "inspect" "8c6506f16ccc5e482d2cf58b21f3d9730c9f46b2ae58050fdf2cc0bfe675f60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6506f16ccc5e482d2cf58b21f3d9730c9f46b2ae58050fdf2cc0bfe675f60f", kill_on_drop: false }` [INFO] [stdout] 8c6506f16ccc5e482d2cf58b21f3d9730c9f46b2ae58050fdf2cc0bfe675f60f