[INFO] fetching crate metrique-timesource 0.1.3... [INFO] checking metrique-timesource-0.1.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate metrique-timesource 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate metrique-timesource 0.1.3 [INFO] finished tweaking crates.io crate metrique-timesource 0.1.3 [INFO] tweaked toml for crates.io crate metrique-timesource 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metrique-timesource 0.1.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate metrique-timesource 0.1.3 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 455e7c344578d6ac6d58ade90f3a7985e7ffc23e7d8b40f799db3b6d0890f471 [INFO] running `Command { std: "docker" "start" "-a" "455e7c344578d6ac6d58ade90f3a7985e7ffc23e7d8b40f799db3b6d0890f471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "455e7c344578d6ac6d58ade90f3a7985e7ffc23e7d8b40f799db3b6d0890f471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455e7c344578d6ac6d58ade90f3a7985e7ffc23e7d8b40f799db3b6d0890f471", kill_on_drop: false }` [INFO] [stdout] 455e7c344578d6ac6d58ade90f3a7985e7ffc23e7d8b40f799db3b6d0890f471 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45f6473d52638eacbe31920c012da7bca848bcdcec62bb345136140edf3faf65 [INFO] running `Command { std: "docker" "start" "-a" "45f6473d52638eacbe31920c012da7bca848bcdcec62bb345136140edf3faf65", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking metrique-timesource v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stdout] error[E0432]: unresolved imports `crate::fakes`, `crate::set_time_source`, `crate::with_time_source` [INFO] [stdout] --> src/lib.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 663 | TimeSource, fakes, get_time_source, set_time_source, time_source, with_time_source, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `with_time_source` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `set_time_source` in the root [INFO] [stdout] | no `fakes` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "test-util")] [INFO] [stdout] | --------------------- the item is gated behind the `test-util` feature [INFO] [stdout] 20 | pub mod fakes; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 340 | #[cfg(feature = "custom-timesource")] [INFO] [stdout] | ----------------------------- the item is gated behind the `custom-timesource` feature [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn set_time_source(time_source: TimeSource) -> ThreadLocalTimeSourceGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg(feature = "custom-timesource")] [INFO] [stdout] | ----------------------------- the item is gated behind the `custom-timesource` feature [INFO] [stdout] 363 | /// Run a closure with a thread-local time source override [INFO] [stdout] 364 | pub fn with_time_source(time_source: TimeSource, f: F) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 663 - TimeSource, fakes, get_time_source, set_time_source, time_source, with_time_source, [INFO] [stdout] 663 + TimeSource, fakes, get_time_source, get_time_source, time_source, with_time_source, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 663 - TimeSource, fakes, get_time_source, set_time_source, time_source, with_time_source, [INFO] [stdout] 663 + TimeSource, fakes, get_time_source, set_time_source, time_source, get_time_source, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `custom` found for enum `TimeSource` in the current scope [INFO] [stdout] --> src/lib.rs:678:30 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 678 | let ts = TimeSource::custom(ts); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `TimeSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Custom` found for enum `TimeSource` in the current scope [INFO] [stdout] --> src/lib.rs:681:25 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `Custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 681 | TimeSource::Custom(_) => {} // Expected [INFO] [stdout] | ^^^^^^ variant or associated item not found in `TimeSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `custom` found for enum `TimeSource` in the current scope [INFO] [stdout] --> src/lib.rs:689:30 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 689 | let ts = TimeSource::custom(ts); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `TimeSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `custom` found for enum `TimeSource` in the current scope [INFO] [stdout] --> src/lib.rs:708:40 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 708 | let thread_local = TimeSource::custom(ts); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `TimeSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Custom` found for enum `TimeSource` in the current scope [INFO] [stdout] --> src/lib.rs:713:29 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `Custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 713 | TimeSource::Custom(_) => {} // Expected [INFO] [stdout] | ^^^^^^ variant or associated item not found in `TimeSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 670 | TimeSource::System => {} // Expected [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] 671 | _ => panic!("Expected default time source to be System"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metrique-timesource` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "45f6473d52638eacbe31920c012da7bca848bcdcec62bb345136140edf3faf65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f6473d52638eacbe31920c012da7bca848bcdcec62bb345136140edf3faf65", kill_on_drop: false }` [INFO] [stdout] 45f6473d52638eacbe31920c012da7bca848bcdcec62bb345136140edf3faf65