[INFO] fetching crate rust-htslib 0.47.0... [INFO] checking rust-htslib-0.47.0 against master#8549802939cd01111c46e34a7b67cb1933977af9 for pr-132712 [INFO] extracting crate rust-htslib 0.47.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate rust-htslib 0.47.0 on toolchain 8549802939cd01111c46e34a7b67cb1933977af9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-htslib 0.47.0 [INFO] finished tweaking crates.io crate rust-htslib 0.47.0 [INFO] tweaked toml for crates.io crate rust-htslib 0.47.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 119 packages to latest compatible versions [INFO] [stderr] Adding derive-new v0.5.9 (available: v0.7.0) [INFO] [stderr] Adding pretty_assertions v0.6.1 (available: v1.4.1) [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded fs-utils v1.1.4 [INFO] [stderr] Downloaded derive-new v0.6.0 [INFO] [stderr] Downloaded bio-types v1.0.4 [INFO] [stderr] Downloaded libdeflate-sys v0.7.5 [INFO] [stderr] Downloaded curl-sys v0.4.78+curl-8.11.0 [INFO] [stderr] Downloaded hts-sys v2.1.4 [INFO] [stderr] Downloaded openssl-src v300.4.0+3.4.0 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccb05b36d9391aae06b4328530a329cc1798f3fb375d9a2455265cc6846fde45 [INFO] running `Command { std: "docker" "start" "-a" "ccb05b36d9391aae06b4328530a329cc1798f3fb375d9a2455265cc6846fde45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccb05b36d9391aae06b4328530a329cc1798f3fb375d9a2455265cc6846fde45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb05b36d9391aae06b4328530a329cc1798f3fb375d9a2455265cc6846fde45", kill_on_drop: false }` [INFO] [stdout] ccb05b36d9391aae06b4328530a329cc1798f3fb375d9a2455265cc6846fde45 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da45246c6ec1de67db1bb9f000f76877cbbf4fbbdca33ef9b6e8a256e556614b [INFO] running `Command { std: "docker" "start" "-a" "da45246c6ec1de67db1bb9f000f76877cbbf4fbbdca33ef9b6e8a256e556614b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling openssl-src v300.4.0+3.4.0 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling curl-sys v0.4.78+curl-8.11.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking bio-types v1.0.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling hts-sys v2.1.4 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking rust-htslib v0.47.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/bgzf/../../test/bgzip/plain.vcf`: No such file or directory (os error 2) [INFO] [stdout] --> src/bgzf/mod.rs:300:27 [INFO] [stdout] | [INFO] [stdout] 300 | const CONTENT: &str = include_str!("../../test/bgzip/plain.vcf"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bam/mod.rs:3000:45 [INFO] [stdout] | [INFO] [stdout] 3000 | let header_refseqs = header_hashmap.get("SQ".into()).unwrap(); [INFO] [stdout] | ^^^ ----------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Q` declared on the method `get` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: Borrow<_>` found in the following crates: `alloc`, `core`: [INFO] [stdout] - impl Borrow for String; [INFO] [stdout] - impl Borrow for T [INFO] [stdout] where T: ?Sized; [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/std/src/collections/hash/map.rs:875:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 3000 | let header_refseqs = header_hashmap.get::("SQ".into()).unwrap(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bam/mod.rs:3000:54 [INFO] [stdout] | [INFO] [stdout] 3000 | let header_refseqs = header_hashmap.get("SQ".into()).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&_: From<&str>` found in the following crates: `core`, `zerovec`: [INFO] [stdout] - impl<'a> From<&'a str> for &'a zerovec::ule::unvalidated::UnvalidatedStr; [INFO] [stdout] - impl From for T; [INFO] [stdout] = note: required for `&str` to implement `Into<&_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 3000 | let header_refseqs = header_hashmap.get(<&str as Into<&Q>>::into("SQ")).unwrap(); [INFO] [stdout] | +++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-htslib` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "da45246c6ec1de67db1bb9f000f76877cbbf4fbbdca33ef9b6e8a256e556614b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da45246c6ec1de67db1bb9f000f76877cbbf4fbbdca33ef9b6e8a256e556614b", kill_on_drop: false }` [INFO] [stdout] da45246c6ec1de67db1bb9f000f76877cbbf4fbbdca33ef9b6e8a256e556614b