[INFO] cloning repository https://github.com/mlehmannm/java-updater [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlehmannm/java-updater" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlehmannm%2Fjava-updater", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlehmannm%2Fjava-updater'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 256e8dff8b6587554263d409e00943018515f4d8 [INFO] checking mlehmannm/java-updater/256e8dff8b6587554263d409e00943018515f4d8 against master#4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlehmannm%2Fjava-updater" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mlehmannm/java-updater [INFO] finished tweaking git repo https://github.com/mlehmannm/java-updater [INFO] tweaked toml for git repo https://github.com/mlehmannm/java-updater written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mlehmannm/java-updater on toolchain 4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mlehmannm/java-updater 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" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v1.1.1 [INFO] [stderr] Downloaded base16ct v1.0.0 [INFO] [stderr] Downloaded toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Downloaded digest v0.11.2 [INFO] [stderr] Downloaded vergen-git2 v9.1.0 [INFO] [stderr] Downloaded hybrid-array v0.4.10 [INFO] [stderr] Downloaded sha2 v0.11.0 [INFO] [stderr] Downloaded toml v1.1.1+spec-1.1.0 [INFO] [stderr] Downloaded winresource v0.1.31 [INFO] [stderr] Downloaded deflate64 v0.1.12 [INFO] [stderr] Downloaded toml_parser v1.1.1+spec-1.1.0 [INFO] [stderr] Downloaded ppmd-rust v1.4.0 [INFO] [stderr] Downloaded zip v8.4.0 [INFO] [stderr] Downloaded shellexpand v3.1.2 [INFO] [stderr] Downloaded lzma-rust2 v0.16.2 [INFO] [stderr] Downloaded block-buffer v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 419d0b919628201af7ebcf64b66e742e76a383d8e31db2641b025738cace963c [INFO] running `Command { std: "docker" "start" "-a" "419d0b919628201af7ebcf64b66e742e76a383d8e31db2641b025738cace963c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "419d0b919628201af7ebcf64b66e742e76a383d8e31db2641b025738cace963c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "419d0b919628201af7ebcf64b66e742e76a383d8e31db2641b025738cace963c", kill_on_drop: false }` [INFO] [stdout] 419d0b919628201af7ebcf64b66e742e76a383d8e31db2641b025738cace963c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ff44fd54780a69c6a1549396a160b3fa709ad0f4519ea284ab41b2e33fcbf0b [INFO] running `Command { std: "docker" "start" "-a" "9ff44fd54780a69c6a1549396a160b3fa709ad0f4519ea284ab41b2e33fcbf0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Checking hybrid-array v0.4.10 [INFO] [stderr] Compiling vergen-lib v9.1.0 [INFO] [stderr] Compiling vergen v9.1.0 [INFO] [stderr] Compiling vergen-git2 v9.1.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking crypto-common v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking terminal_size v0.4.4 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking iri-string v0.7.12 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking digest v0.11.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking tar v0.4.45 [INFO] [stderr] Checking shellexpand v3.1.2 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking base16ct v1.0.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling aws-lc-sys v0.39.1 [INFO] [stderr] Compiling libz-sys v1.1.25 [INFO] [stderr] Compiling libgit2-sys v0.18.3+1.9.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling test-log-macros v0.2.19 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking test-log v0.2.19 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling git2 v0.20.4 [INFO] [stderr] Compiling java-updater v0.5.0-dev (/opt/rustwide/workdir) [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stdout] error[E0277]: the trait bound `Sha256: std::io::Write` is not satisfied [INFO] [stdout] --> src/checksum.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | io::copy(&mut dest_file, &mut hasher)?; [INFO] [stdout] | -------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Sha256` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::io::copy` [INFO] [stdout] --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/std/src/io/copy.rs:62:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Sha256: std::io::Write` is not satisfied [INFO] [stdout] --> src/checksum.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | io::copy(&mut dest_file, &mut hasher)?; [INFO] [stdout] | -------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Sha256` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::io::copy` [INFO] [stdout] --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/std/src/io/copy.rs:62:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `Sha256` in the current scope [INFO] [stdout] --> src/checksum.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | self.hasher.write_all(&buf[..n])?; [INFO] [stdout] | ^^^^^^^^^ method not found in `Sha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `Sha256` in the current scope [INFO] [stdout] --> src/checksum.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let y = self.hasher.flush(); [INFO] [stdout] | ^^^^^ method not found in `Sha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `Sha256` in the current scope [INFO] [stdout] --> src/checksum.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | self.hasher.write_all(&buf[..n])?; [INFO] [stdout] | ^^^^^^^^^ method not found in `Sha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `Sha256` in the current scope [INFO] [stdout] --> src/checksum.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let y = self.hasher.flush(); [INFO] [stdout] | ^^^^^ method not found in `Sha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `java-updater` (bin "java-updater" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `java-updater` (bin "java-updater") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "9ff44fd54780a69c6a1549396a160b3fa709ad0f4519ea284ab41b2e33fcbf0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff44fd54780a69c6a1549396a160b3fa709ad0f4519ea284ab41b2e33fcbf0b", kill_on_drop: false }` [INFO] [stdout] 9ff44fd54780a69c6a1549396a160b3fa709ad0f4519ea284ab41b2e33fcbf0b