[INFO] fetching crate rpkt-time 0.1.0... [INFO] testing rpkt-time-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate rpkt-time 0.1.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rpkt-time 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fad5df959bbd9eae711e18e7ee7d8fdb2b6f6dddf228daf63603f6982519b1b7 [INFO] running `Command { std: "docker" "start" "-a" "fad5df959bbd9eae711e18e7ee7d8fdb2b6f6dddf228daf63603f6982519b1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fad5df959bbd9eae711e18e7ee7d8fdb2b6f6dddf228daf63603f6982519b1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad5df959bbd9eae711e18e7ee7d8fdb2b6f6dddf228daf63603f6982519b1b7", kill_on_drop: false }` [INFO] [stdout] fad5df959bbd9eae711e18e7ee7d8fdb2b6f6dddf228daf63603f6982519b1b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5f0ae855329d8a9a16721162ec020634761e4c7c337e813daee7b0b9c0d439f [INFO] running `Command { std: "docker" "start" "-a" "a5f0ae855329d8a9a16721162ec020634761e4c7c337e813daee7b0b9c0d439f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.42 [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.74s [INFO] running `Command { std: "docker" "inspect" "a5f0ae855329d8a9a16721162ec020634761e4c7c337e813daee7b0b9c0d439f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f0ae855329d8a9a16721162ec020634761e4c7c337e813daee7b0b9c0d439f", kill_on_drop: false }` [INFO] [stdout] a5f0ae855329d8a9a16721162ec020634761e4c7c337e813daee7b0b9c0d439f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5a9915579f5702015df0874e7b0c21ea4415a06d982ca9bf07c45fa2b0fed1b [INFO] running `Command { std: "docker" "start" "-a" "b5a9915579f5702015df0874e7b0c21ea4415a06d982ca9bf07c45fa2b0fed1b", kill_on_drop: false }` [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] [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.69s [INFO] running `Command { std: "docker" "inspect" "b5a9915579f5702015df0874e7b0c21ea4415a06d982ca9bf07c45fa2b0fed1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a9915579f5702015df0874e7b0c21ea4415a06d982ca9bf07c45fa2b0fed1b", kill_on_drop: false }` [INFO] [stdout] b5a9915579f5702015df0874e7b0c21ea4415a06d982ca9bf07c45fa2b0fed1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 874b4db1944e7618dd533e1e3096a4d586bc7ddcb4c25dd6c9f0628129fe5770 [INFO] running `Command { std: "docker" "start" "-a" "874b4db1944e7618dd533e1e3096a4d586bc7ddcb4c25dd6c9f0628129fe5770", 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-77768e4b56e0ca29) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests rpkt_time [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::now (line 40) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::elapsed (line 134) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::saturating_duration_since (line 107) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::checked_duration_since (line 83) ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::duration_since (line 61) ... 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] test src/lib.rs - cycles_per_sec (line 53) ... 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] 181 | 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::now (line 40) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 138 | 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] 111 | 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::checked_duration_since (line 83) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | 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::duration_since (line 61) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minstant` [INFO] [stdout] --> src/instant.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 24 | 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] 26 | 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] 38 | 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] ---- 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] 54 | 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] 56 | 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] [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.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "874b4db1944e7618dd533e1e3096a4d586bc7ddcb4c25dd6c9f0628129fe5770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874b4db1944e7618dd533e1e3096a4d586bc7ddcb4c25dd6c9f0628129fe5770", kill_on_drop: false }` [INFO] [stdout] 874b4db1944e7618dd533e1e3096a4d586bc7ddcb4c25dd6c9f0628129fe5770