[INFO] fetching crate metrique-timesource 0.1.8... [INFO] testing metrique-timesource-0.1.8 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate metrique-timesource 0.1.8 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate metrique-timesource 0.1.8 [INFO] finished tweaking crates.io crate metrique-timesource 0.1.8 [INFO] tweaked toml for crates.io crate metrique-timesource 0.1.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metrique-timesource 0.1.8 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate metrique-timesource 0.1.8 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 854054a4bb784169453cbc099859c2744083f20649ed195b1ac94aab58e46ef7 [INFO] running `Command { std: "docker" "start" "-a" "854054a4bb784169453cbc099859c2744083f20649ed195b1ac94aab58e46ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "854054a4bb784169453cbc099859c2744083f20649ed195b1ac94aab58e46ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854054a4bb784169453cbc099859c2744083f20649ed195b1ac94aab58e46ef7", kill_on_drop: false }` [INFO] [stdout] 854054a4bb784169453cbc099859c2744083f20649ed195b1ac94aab58e46ef7 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fc7f80d71a795badabb5c859f95475fa4a37efe1267a548f98235ba20137bfe [INFO] running `Command { std: "docker" "start" "-a" "8fc7f80d71a795badabb5c859f95475fa4a37efe1267a548f98235ba20137bfe", kill_on_drop: false }` [INFO] [stderr] Compiling metrique-timesource v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "8fc7f80d71a795badabb5c859f95475fa4a37efe1267a548f98235ba20137bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc7f80d71a795badabb5c859f95475fa4a37efe1267a548f98235ba20137bfe", kill_on_drop: false }` [INFO] [stdout] 8fc7f80d71a795badabb5c859f95475fa4a37efe1267a548f98235ba20137bfe [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e09881b1f29b27ee9e1cee004a206074387ec0e5e567e37c5a26968fb0e3d555 [INFO] running `Command { std: "docker" "start" "-a" "e09881b1f29b27ee9e1cee004a206074387ec0e5e567e37c5a26968fb0e3d555", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling metrique-timesource v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::fakes`, `crate::set_time_source`, `crate::with_time_source` [INFO] [stdout] --> src/lib.rs:839:21 [INFO] [stdout] | [INFO] [stdout] 839 | 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:521:8 [INFO] [stdout] | [INFO] [stdout] 507 | #[cfg(feature = "custom-timesource")] [INFO] [stdout] | ----------------------------- the item is gated behind the `custom-timesource` feature [INFO] [stdout] ... [INFO] [stdout] 521 | 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:531:8 [INFO] [stdout] | [INFO] [stdout] 529 | #[cfg(feature = "custom-timesource")] [INFO] [stdout] | ----------------------------- the item is gated behind the `custom-timesource` feature [INFO] [stdout] 530 | /// Run a closure with a thread-local time source override [INFO] [stdout] 531 | 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] 839 - TimeSource, fakes, get_time_source, set_time_source, time_source, with_time_source, [INFO] [stdout] 839 + 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] 839 - TimeSource, fakes, get_time_source, set_time_source, time_source, with_time_source, [INFO] [stdout] 839 + 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:854:30 [INFO] [stdout] | [INFO] [stdout] 391 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 854 | 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:857:25 [INFO] [stdout] | [INFO] [stdout] 391 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `Custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 857 | 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:865:30 [INFO] [stdout] | [INFO] [stdout] 391 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 865 | 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:884:40 [INFO] [stdout] | [INFO] [stdout] 391 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 884 | 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:889:29 [INFO] [stdout] | [INFO] [stdout] 391 | pub enum TimeSource { [INFO] [stdout] | ------------------- variant or associated item `Custom` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 889 | 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:847:13 [INFO] [stdout] | [INFO] [stdout] 846 | TimeSource::System => {} // Expected [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] 847 | _ => 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" "e09881b1f29b27ee9e1cee004a206074387ec0e5e567e37c5a26968fb0e3d555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09881b1f29b27ee9e1cee004a206074387ec0e5e567e37c5a26968fb0e3d555", kill_on_drop: false }` [INFO] [stdout] e09881b1f29b27ee9e1cee004a206074387ec0e5e567e37c5a26968fb0e3d555