[INFO] fetching crate metrique-timesource 0.1.3... [INFO] testing metrique-timesource-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate metrique-timesource 0.1.3 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metrique-timesource 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85348e482c593634ea8e15437756dde6757caf31f77f8cd608ae0318736a7981 [INFO] running `Command { std: "docker" "start" "-a" "85348e482c593634ea8e15437756dde6757caf31f77f8cd608ae0318736a7981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85348e482c593634ea8e15437756dde6757caf31f77f8cd608ae0318736a7981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85348e482c593634ea8e15437756dde6757caf31f77f8cd608ae0318736a7981", kill_on_drop: false }` [INFO] [stdout] 85348e482c593634ea8e15437756dde6757caf31f77f8cd608ae0318736a7981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cc7554efed3acc45a4265151140c4b0b9dcb6312272f9272b41ead8202316be [INFO] running `Command { std: "docker" "start" "-a" "9cc7554efed3acc45a4265151140c4b0b9dcb6312272f9272b41ead8202316be", kill_on_drop: false }` [INFO] [stderr] Compiling metrique-timesource v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "9cc7554efed3acc45a4265151140c4b0b9dcb6312272f9272b41ead8202316be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cc7554efed3acc45a4265151140c4b0b9dcb6312272f9272b41ead8202316be", kill_on_drop: false }` [INFO] [stdout] 9cc7554efed3acc45a4265151140c4b0b9dcb6312272f9272b41ead8202316be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec61d77940e518b991c78a415b4d8f79d78cbbf7b7744ae721fa2eb9dc669f28 [INFO] running `Command { std: "docker" "start" "-a" "ec61d77940e518b991c78a415b4d8f79d78cbbf7b7744ae721fa2eb9dc669f28", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling metrique-timesource v0.1.3 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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" "ec61d77940e518b991c78a415b4d8f79d78cbbf7b7744ae721fa2eb9dc669f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec61d77940e518b991c78a415b4d8f79d78cbbf7b7744ae721fa2eb9dc669f28", kill_on_drop: false }` [INFO] [stdout] ec61d77940e518b991c78a415b4d8f79d78cbbf7b7744ae721fa2eb9dc669f28