[INFO] fetching crate rpkt-time 0.1.0... [INFO] testing rpkt-time-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rpkt-time 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rpkt-time 0.1.0 [INFO] finished tweaking crates.io crate rpkt-time 0.1.0 [INFO] tweaked toml for crates.io crate rpkt-time 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rpkt-time 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.1.26 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac6033105d0f40f9f695e467c19266d47882ad71c2a7252bd2e1907a9ab16a55 [INFO] running `Command { std: "docker" "start" "-a" "ac6033105d0f40f9f695e467c19266d47882ad71c2a7252bd2e1907a9ab16a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac6033105d0f40f9f695e467c19266d47882ad71c2a7252bd2e1907a9ab16a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6033105d0f40f9f695e467c19266d47882ad71c2a7252bd2e1907a9ab16a55", kill_on_drop: false }` [INFO] [stdout] ac6033105d0f40f9f695e467c19266d47882ad71c2a7252bd2e1907a9ab16a55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 896499caf7b0a2c0567874f8cf8f6aabf05185ba89316dd4ceff25b235199543 [INFO] running `Command { std: "docker" "start" "-a" "896499caf7b0a2c0567874f8cf8f6aabf05185ba89316dd4ceff25b235199543", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling rpkt-time v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `target_arc` [INFO] [stdout] --> src/tsc.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(target_arc = "x86_64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arc, values("x86_64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arc, values(\"x86_64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(target_arch = "x86_64")] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.41s [INFO] running `Command { std: "docker" "inspect" "896499caf7b0a2c0567874f8cf8f6aabf05185ba89316dd4ceff25b235199543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896499caf7b0a2c0567874f8cf8f6aabf05185ba89316dd4ceff25b235199543", kill_on_drop: false }` [INFO] [stdout] 896499caf7b0a2c0567874f8cf8f6aabf05185ba89316dd4ceff25b235199543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12f5595dbb44cc631485bdf31fd64e693614a9eb4696fa5223e6d89e37f280d1 [INFO] running `Command { std: "docker" "start" "-a" "12f5595dbb44cc631485bdf31fd64e693614a9eb4696fa5223e6d89e37f280d1", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `target_arc` [INFO] [stdout] --> src/tsc.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(target_arc = "x86_64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arc, values("x86_64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arc, values(\"x86_64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(target_arch = "x86_64")] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rpkt-time v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `target_arc` [INFO] [stdout] --> src/tsc.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(target_arc = "x86_64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arc, values("x86_64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arc, values(\"x86_64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(target_arch = "x86_64")] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "12f5595dbb44cc631485bdf31fd64e693614a9eb4696fa5223e6d89e37f280d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f5595dbb44cc631485bdf31fd64e693614a9eb4696fa5223e6d89e37f280d1", kill_on_drop: false }` [INFO] [stdout] 12f5595dbb44cc631485bdf31fd64e693614a9eb4696fa5223e6d89e37f280d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96a1fbac3555bdd54b3f56838048146eb9cb84c4d9736bcff8d0f5e95351d9cb [INFO] running `Command { std: "docker" "start" "-a" "96a1fbac3555bdd54b3f56838048146eb9cb84c4d9736bcff8d0f5e95351d9cb", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `target_arc` [INFO] [stderr] --> src/tsc.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(target_arc = "x86_64")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arc, values("x86_64"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arc, values(\"x86_64\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(target_arch = "x86_64")] [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `rpkt-time` (lib) generated 1 warning [INFO] [stderr] warning: `rpkt-time` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rpkt_time-8247b0c196b3d508) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rpkt_time [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/instant.rs - instant::Instant::as_unix_nanos (line 179) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::duration_since (line 61) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::now (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - cycles_per_sec (line 53) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::checked_duration_since (line 83) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::saturating_duration_since (line 107) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::elapsed (line 134) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::raw (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - tsc_stable (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/instant.rs - instant::Instant::as_unix_nanos (line 179) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 4 | use minstant::{Instant, Anchor}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minstant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minstant`, use `cargo add minstant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instant.rs - instant::Instant::duration_since (line 61) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 6 | use minstant::Instant; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minstant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minstant`, use `cargo add minstant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instant.rs - instant::Instant::now (line 40) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 3 | use minstant::Instant; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minstant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minstant`, use `cargo add minstant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - cycles_per_sec (line 53) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rdtsc_time` [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rdtsc_time::Instant; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rdtsc_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdtsc_time`, use `cargo add rdtsc_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rdtsc_time` [INFO] [stdout] --> src/lib.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 5 | let ddl = Instant::now().raw().checked_add(rdtsc_time::cycles_per_sec()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rdtsc_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdtsc_time`, use `cargo add rdtsc_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instant.rs - instant::Instant::checked_duration_since (line 83) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 6 | use minstant::Instant; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minstant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minstant`, use `cargo add minstant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instant.rs - instant::Instant::saturating_duration_since (line 107) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 6 | use minstant::Instant; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minstant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minstant`, use `cargo add minstant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instant.rs - instant::Instant::elapsed (line 134) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 6 | use minstant::Instant; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minstant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minstant`, use `cargo add minstant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instant.rs - instant::Instant::raw (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rdtsc_time` [INFO] [stdout] --> src/instant.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rdtsc_time::Instant; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rdtsc_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdtsc_time`, use `cargo add rdtsc_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rdtsc_time` [INFO] [stdout] --> src/instant.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 5 | let ddl = Instant::now().raw().checked_add(rdtsc_time::cycles_per_sec()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rdtsc_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdtsc_time`, use `cargo add rdtsc_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - tsc_stable (line 37) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rdtsc_time` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rdtsc_time; [INFO] [stdout] | ^^^^^^^^^^ no external crate `rdtsc_time` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/instant.rs - instant::Instant::as_unix_nanos (line 179) [INFO] [stdout] src/instant.rs - instant::Instant::checked_duration_since (line 83) [INFO] [stdout] src/instant.rs - instant::Instant::duration_since (line 61) [INFO] [stdout] src/instant.rs - instant::Instant::elapsed (line 134) [INFO] [stdout] src/instant.rs - instant::Instant::now (line 40) [INFO] [stdout] src/instant.rs - instant::Instant::raw (line 23) [INFO] [stdout] src/instant.rs - instant::Instant::saturating_duration_since (line 107) [INFO] [stdout] src/lib.rs - cycles_per_sec (line 53) [INFO] [stdout] src/lib.rs - tsc_stable (line 37) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "96a1fbac3555bdd54b3f56838048146eb9cb84c4d9736bcff8d0f5e95351d9cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a1fbac3555bdd54b3f56838048146eb9cb84c4d9736bcff8d0f5e95351d9cb", kill_on_drop: false }` [INFO] [stdout] 96a1fbac3555bdd54b3f56838048146eb9cb84c4d9736bcff8d0f5e95351d9cb