[INFO] fetching crate wasefire-store 0.3.0... [INFO] checking wasefire-store-0.3.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate wasefire-store 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate wasefire-store 0.3.0 [INFO] finished tweaking crates.io crate wasefire-store 0.3.0 [INFO] tweaked toml for crates.io crate wasefire-store 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasefire-store 0.3.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb6b2ca6477896f2b14e795fdb82c4a2c227ce3fcbaf090e773207b775166b28 [INFO] running `Command { std: "docker" "start" "-a" "cb6b2ca6477896f2b14e795fdb82c4a2c227ce3fcbaf090e773207b775166b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb6b2ca6477896f2b14e795fdb82c4a2c227ce3fcbaf090e773207b775166b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6b2ca6477896f2b14e795fdb82c4a2c227ce3fcbaf090e773207b775166b28", kill_on_drop: false }` [INFO] [stdout] cb6b2ca6477896f2b14e795fdb82c4a2c227ce3fcbaf090e773207b775166b28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 769353b80efe1805d02ed155c547eabe3ba7bc21c47248f803f1036676337111 [INFO] running `Command { std: "docker" "start" "-a" "769353b80efe1805d02ed155c547eabe3ba7bc21c47248f803f1036676337111", kill_on_drop: false }` [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking wasefire-error v0.1.2 [INFO] [stderr] Checking wasefire-store v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::Nat` [INFO] [stdout] --> src/format/bitfield.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::Nat; [INFO] [stdout] | ^^^^^^^^^^ no `Nat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Nat` [INFO] [stdout] --> src/format.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::{usize_to_nat, Nat, Storage, StorageIndex, StoreUpdate}; [INFO] [stdout] | ^^^ no `Nat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Nat` [INFO] [stdout] --> src/store.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::{usize_to_nat, Nat, Storage, StorageIndex}; [INFO] [stdout] | ^^^ no `Nat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | fn usize_to_nat(x: usize) -> Nat { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Nat` [INFO] [stdout] --> src/format/bitfield.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::Nat; [INFO] [stdout] | ^^^^^^^^^^ no `Nat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Nat` [INFO] [stdout] --> src/format.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::{usize_to_nat, Nat, Storage, StorageIndex, StoreUpdate}; [INFO] [stdout] | ^^^ no `Nat` in the root [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::format::bitfield::tests::Nat` exists but is inaccessible [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Nat` [INFO] [stdout] --> src/store.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::{usize_to_nat, Nat, Storage, StorageIndex}; [INFO] [stdout] | ^^^ no `Nat` in the root [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::format::tests::Nat` exists but is inaccessible [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::BufferOptions`, `crate::BufferStorage`, `crate::StoreDriverOff` [INFO] [stdout] --> src/test.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{BufferOptions, BufferStorage, Store, StoreDriverOff}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `StoreDriverOff` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `BufferStorage` in the root [INFO] [stdout] | no `BufferOptions` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:376:47 [INFO] [stdout] | [INFO] [stdout] 375 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 376 | pub use self::buffer::{BufferCorruptFunction, BufferOptions, BufferStorage, INTERRUPTION}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:376:62 [INFO] [stdout] | [INFO] [stdout] 375 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 376 | pub use self::buffer::{BufferCorruptFunction, BufferOptions, BufferStorage, INTERRUPTION}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 377 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 378 | pub use self::driver::{ [INFO] [stdout] 379 | StoreDriver, StoreDriverOff, StoreDriverOn, StoreInterruption, StoreInvariant, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/format.rs:916:20 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!(std::mem::size_of::(), 12); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 912 + use core::mem; [INFO] [stdout] | [INFO] [stdout] help: if you import `mem`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!(std::mem::size_of::(), 12); [INFO] [stdout] 916 + assert_eq!(mem::size_of::(), 12); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | fn usize_to_nat(x: usize) -> Nat { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `tempfile` is unused in crate `wasefire_store` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | //! Store abstraction for flash storage [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tempfile as _;` to the crate root [INFO] [stdout] = note: requested on the command line with `-W unused-crate-dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nat` [INFO] [stdout] --> src/lib.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | Nat::try_from(x).unwrap() [INFO] [stdout] | ^^^ use of undeclared type `Nat` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasefire-store` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nat` [INFO] [stdout] --> src/lib.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | Nat::try_from(x).unwrap() [INFO] [stdout] | ^^^ use of undeclared type `Nat` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 402 | #[cfg(any(target_pointer_width = "32", feature = "std"))] [INFO] [stdout] | ---------------------------------------------- the item is gated here [INFO] [stdout] 403 | pub type Nat = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasefire-store` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "769353b80efe1805d02ed155c547eabe3ba7bc21c47248f803f1036676337111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "769353b80efe1805d02ed155c547eabe3ba7bc21c47248f803f1036676337111", kill_on_drop: false }` [INFO] [stdout] 769353b80efe1805d02ed155c547eabe3ba7bc21c47248f803f1036676337111