[INFO] cloning repository https://github.com/crazystylus/otadump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crazystylus/otadump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrazystylus%2Fotadump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrazystylus%2Fotadump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94876c774453d09fedb4f2ff45c0dd9bacd3f1cf [INFO] checking crazystylus/otadump against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrazystylus%2Fotadump" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crazystylus/otadump [INFO] finished tweaking git repo https://github.com/crazystylus/otadump [INFO] tweaked toml for git repo https://github.com/crazystylus/otadump written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crazystylus/otadump on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crazystylus/otadump 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost v0.14.1 [INFO] [stderr] Downloaded prost-derive v0.14.1 [INFO] [stderr] Downloaded sync-unsafe-cell v0.1.1 [INFO] [stderr] Downloaded nom-derive v0.10.1 [INFO] [stderr] Downloaded prost-types v0.14.1 [INFO] [stderr] Downloaded prost-build v0.14.1 [INFO] [stderr] Downloaded zip v4.1.0 [INFO] [stderr] Downloaded nom-derive-impl v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebefaa12b0e62e1dc0ff44ad6468958a2008c6732e7eb2f870a7d2ec17bb1fad [INFO] running `Command { std: "docker" "start" "-a" "ebefaa12b0e62e1dc0ff44ad6468958a2008c6732e7eb2f870a7d2ec17bb1fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebefaa12b0e62e1dc0ff44ad6468958a2008c6732e7eb2f870a7d2ec17bb1fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebefaa12b0e62e1dc0ff44ad6468958a2008c6732e7eb2f870a7d2ec17bb1fad", kill_on_drop: false }` [INFO] [stdout] ebefaa12b0e62e1dc0ff44ad6468958a2008c6732e7eb2f870a7d2ec17bb1fad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e3f6337eb016e026bd06b8b9ff96781afdb82737bfdd950a127773f8ed630d6 [INFO] running `Command { std: "docker" "start" "-a" "1e3f6337eb016e026bd06b8b9ff96781afdb82737bfdd950a127773f8ed630d6", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking libbz2-rs-sys v0.2.1 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking zip v4.1.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking sync-unsafe-cell v0.1.1 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling color-print-proc-macro v0.3.7 [INFO] [stderr] Compiling nom-derive-impl v0.10.1 [INFO] [stderr] Checking liblzma v0.4.2 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking color-print v0.3.7 [INFO] [stderr] Checking nom-derive v0.10.1 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling otadump v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Signatures` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/otadump-6d6969b18c0f2fe3/out/chromeos_update_engine.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Signatures { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApexMetadata` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/otadump-6d6969b18c0f2fe3/out/chromeos_update_engine.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct ApexMetadata { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:391:38 [INFO] [stdout] | [INFO] [stdout] 391 | let partition_len = unsafe { (*self.partition.get()).len() }; [INFO] [stdout] | ^^--------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut MmapMut` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/lib.rs:391:38 [INFO] [stdout] | [INFO] [stdout] 391 | let partition_len = unsafe { (*self.partition.get()).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 391 | let partition_len = unsafe { (&(*self.partition.get())).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `otadump` (lib test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Signatures` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/otadump-6d6969b18c0f2fe3/out/chromeos_update_engine.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Signatures { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApexMetadata` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/otadump-6d6969b18c0f2fe3/out/chromeos_update_engine.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct ApexMetadata { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:391:38 [INFO] [stdout] | [INFO] [stdout] 391 | let partition_len = unsafe { (*self.partition.get()).len() }; [INFO] [stdout] | ^^--------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut MmapMut` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/lib.rs:391:38 [INFO] [stdout] | [INFO] [stdout] 391 | let partition_len = unsafe { (*self.partition.get()).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 391 | let partition_len = unsafe { (&(*self.partition.get())).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `otadump` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e3f6337eb016e026bd06b8b9ff96781afdb82737bfdd950a127773f8ed630d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3f6337eb016e026bd06b8b9ff96781afdb82737bfdd950a127773f8ed630d6", kill_on_drop: false }` [INFO] [stdout] 1e3f6337eb016e026bd06b8b9ff96781afdb82737bfdd950a127773f8ed630d6