[INFO] fetching crate metrique-timesource 0.1.4... [INFO] testing metrique-timesource-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate metrique-timesource 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate metrique-timesource 0.1.4 [INFO] finished tweaking crates.io crate metrique-timesource 0.1.4 [INFO] tweaked toml for crates.io crate metrique-timesource 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metrique-timesource 0.1.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate metrique-timesource 0.1.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4af10011967fca3f7029b85d608fed52ebaf0d23ef4c35a76fd06dee10a30e8d [INFO] running `Command { std: "docker" "start" "-a" "4af10011967fca3f7029b85d608fed52ebaf0d23ef4c35a76fd06dee10a30e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4af10011967fca3f7029b85d608fed52ebaf0d23ef4c35a76fd06dee10a30e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af10011967fca3f7029b85d608fed52ebaf0d23ef4c35a76fd06dee10a30e8d", kill_on_drop: false }` [INFO] [stdout] 4af10011967fca3f7029b85d608fed52ebaf0d23ef4c35a76fd06dee10a30e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 934882aa3ae54b66515e73e9a372600d82067254029f39587511e0a7230ec0c6 [INFO] running `Command { std: "docker" "start" "-a" "934882aa3ae54b66515e73e9a372600d82067254029f39587511e0a7230ec0c6", kill_on_drop: false }` [INFO] [stderr] Compiling metrique-timesource v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "934882aa3ae54b66515e73e9a372600d82067254029f39587511e0a7230ec0c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934882aa3ae54b66515e73e9a372600d82067254029f39587511e0a7230ec0c6", kill_on_drop: false }` [INFO] [stdout] 934882aa3ae54b66515e73e9a372600d82067254029f39587511e0a7230ec0c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c470d5430c0cccc97c49f31e294cf14db37679cc4687ba9d4ecda77e5efdf24 [INFO] running `Command { std: "docker" "start" "-a" "3c470d5430c0cccc97c49f31e294cf14db37679cc4687ba9d4ecda77e5efdf24", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling metrique-timesource v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::fakes`, `crate::set_time_source`, `crate::with_time_source` [INFO] [stdout] --> src/lib.rs:658:21 [INFO] [stdout] | [INFO] [stdout] 658 | 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:349:8 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "custom-timesource")] [INFO] [stdout] | ----------------------------- the item is gated behind the `custom-timesource` feature [INFO] [stdout] ... [INFO] [stdout] 349 | 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:359:8 [INFO] [stdout] | [INFO] [stdout] 357 | #[cfg(feature = "custom-timesource")] [INFO] [stdout] | ----------------------------- the item is gated behind the `custom-timesource` feature [INFO] [stdout] 358 | /// Run a closure with a thread-local time source override [INFO] [stdout] 359 | 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] 658 - TimeSource, fakes, get_time_source, set_time_source, time_source, with_time_source, [INFO] [stdout] 658 + 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] 658 - TimeSource, fakes, get_time_source, set_time_source, time_source, with_time_source, [INFO] [stdout] 658 + 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:673: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] 673 | 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:676: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] 676 | 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:684: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] 684 | 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:703: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] 703 | 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:708: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] 708 | 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:666:13 [INFO] [stdout] | [INFO] [stdout] 665 | TimeSource::System => {} // Expected [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] 666 | _ => 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" "3c470d5430c0cccc97c49f31e294cf14db37679cc4687ba9d4ecda77e5efdf24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c470d5430c0cccc97c49f31e294cf14db37679cc4687ba9d4ecda77e5efdf24", kill_on_drop: false }` [INFO] [stdout] 3c470d5430c0cccc97c49f31e294cf14db37679cc4687ba9d4ecda77e5efdf24