[INFO] fetching crate graphite 0.2.3... [INFO] testing graphite-0.2.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate graphite 0.2.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate graphite 0.2.3 [INFO] finished tweaking crates.io crate graphite 0.2.3 [INFO] tweaked toml for crates.io crate graphite 0.2.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate graphite 0.2.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/graphite.rs [INFO] [stderr] * src/bin/whisper.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0abec69c5858bbbc59086ebd3d485d83e8130c8a3ece4704a6b578f098d87e65 [INFO] running `Command { std: "docker" "start" "-a" "0abec69c5858bbbc59086ebd3d485d83e8130c8a3ece4704a6b578f098d87e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0abec69c5858bbbc59086ebd3d485d83e8130c8a3ece4704a6b578f098d87e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0abec69c5858bbbc59086ebd3d485d83e8130c8a3ece4704a6b578f098d87e65", kill_on_drop: false }` [INFO] [stdout] 0abec69c5858bbbc59086ebd3d485d83e8130c8a3ece4704a6b578f098d87e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 398ede127bc5544c7eec9572286a48176e28fe95966d6af93c99a28a99f80ceb [INFO] running `Command { std: "docker" "start" "-a" "398ede127bc5544c7eec9572286a48176e28fe95966d6af93c99a28a99f80ceb", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/graphite.rs [INFO] [stderr] * src/bin/whisper.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling whisper v0.1.11 [INFO] [stdout] error[E0432]: unresolved import `memmap::Protection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use memmap::{ Mmap, Protection }; [INFO] [stdout] | ^^^^^^^^^^ no `Protection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/header.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use memmap::MmapViewSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use self::libc::funcs::posix01::unistd::ftruncate; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/archive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use memmap::MmapViewSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/cache/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::{ PathExt, DirBuilder }; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/header.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | let (this_archive,the_rest) = archive_data.split_at(offset).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/header.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(this_archive.len() != 30, "this_archive.len(): {}, the_rest.len(): {}",this_archive.len(),the_rest.len()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/header.rs:120:103 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(this_archive.len() != 30, "this_archive.len(): {}, the_rest.len(): {}",this_archive.len(),the_rest.len()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `Mmap` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/mod.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let mmap = Mmap::open(&opened_file, Protection::ReadWrite ).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open_path` found for struct `Mmap` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let mmap = Mmap::open_path(path, Protection::ReadWrite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Mmap` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mmap`, consider using `Mmap::map` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/memmap-0.7.0/src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn map(file: &File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_view_sync` found for struct `Mmap` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/file/mod.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let mmap_view = mmap.into_view_sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'h>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/schema/retention_policy.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | let precision_opt = regex_match.at(1); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'h>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/schema/retention_policy.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let precision_mult = regex_match.at(2).unwrap_or("s"); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'h>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/schema/retention_policy.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let retention_opt = regex_match.at(3); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'h>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/whisper-0.1.11/src/whisper/schema/retention_policy.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let retention_mult = regex_match.at(4); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `whisper` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "398ede127bc5544c7eec9572286a48176e28fe95966d6af93c99a28a99f80ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398ede127bc5544c7eec9572286a48176e28fe95966d6af93c99a28a99f80ceb", kill_on_drop: false }` [INFO] [stdout] 398ede127bc5544c7eec9572286a48176e28fe95966d6af93c99a28a99f80ceb