[INFO] fetching crate a11y 0.2.2... [INFO] checking a11y-0.2.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate a11y 0.2.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate a11y 0.2.2 [INFO] finished tweaking crates.io crate a11y 0.2.2 [INFO] tweaked toml for crates.io crate a11y 0.2.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate a11y 0.2.2 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 crates.io crate a11y 0.2.2 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 windows-strings v0.3.0 [INFO] [stderr] Downloaded windows-result v0.3.0 [INFO] [stderr] Downloaded windows-implement v0.59.0 [INFO] [stderr] Downloaded windows-interface v0.59.0 [INFO] [stderr] Downloaded windows-core v0.59.0 [INFO] [stderr] Downloaded win-wrap v0.3.1 [INFO] [stderr] Downloaded rigela-utils v0.2.2 [INFO] [stderr] Downloaded scintilla-sys v4.0.9 [INFO] [stderr] Downloaded windows v0.59.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6fa0adcf6a63bad2263dc291f1f0f1fe788dca7d35aecf0a38c4b355e74935c6 [INFO] running `Command { std: "docker" "start" "-a" "6fa0adcf6a63bad2263dc291f1f0f1fe788dca7d35aecf0a38c4b355e74935c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fa0adcf6a63bad2263dc291f1f0f1fe788dca7d35aecf0a38c4b355e74935c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fa0adcf6a63bad2263dc291f1f0f1fe788dca7d35aecf0a38c4b355e74935c6", kill_on_drop: false }` [INFO] [stdout] 6fa0adcf6a63bad2263dc291f1f0f1fe788dca7d35aecf0a38c4b355e74935c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1e5605edab53f98e381e3277e09596e626b8ef47723fba8a0f1b5a1c2da8c9ce [INFO] running `Command { std: "docker" "start" "-a" "1e5605edab53f98e381e3277e09596e626b8ef47723fba8a0f1b5a1c2da8c9ce", kill_on_drop: false }` [INFO] [stderr] Checking a11y v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `OnceLock` in this scope [INFO] [stdout] --> src/lib.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::sync::OnceLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnceLock` [INFO] [stdout] --> src/lib.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OnceLock` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::sync::OnceLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn setup(path: &PathBuf) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rigela_library_path` in this scope [INFO] [stdout] --> src/lib.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf { [INFO] [stdout] | -------------------------------------------------- similarly named function `get_library_path` defined here [INFO] [stdout] ... [INFO] [stdout] 51 | let path = get_rigela_library_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_library_path` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 17 | use rigela_utils::library::{get_rigela_library_path, setup_library}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OnceLock` in this scope [INFO] [stdout] --> src/lib.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::sync::OnceLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnceLock` [INFO] [stdout] --> src/lib.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OnceLock` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::sync::OnceLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn setup(path: &PathBuf) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 19 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `a11y` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `get_rigela_library_path` in this scope [INFO] [stdout] --> src/lib.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf { [INFO] [stdout] | -------------------------------------------------- similarly named function `get_library_path` defined here [INFO] [stdout] ... [INFO] [stdout] 51 | let path = get_rigela_library_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_library_path` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(any(feature = "jab_lib", feature = "ia2_lib"))] [INFO] [stdout] | ------------------------------------------ the item is gated here [INFO] [stdout] 17 | use rigela_utils::library::{get_rigela_library_path, setup_library}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `a11y` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "1e5605edab53f98e381e3277e09596e626b8ef47723fba8a0f1b5a1c2da8c9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5605edab53f98e381e3277e09596e626b8ef47723fba8a0f1b5a1c2da8c9ce", kill_on_drop: false }` [INFO] [stdout] 1e5605edab53f98e381e3277e09596e626b8ef47723fba8a0f1b5a1c2da8c9ce