[INFO] cloning repository https://github.com/jrmoulton/futures-native [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jrmoulton/futures-native" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrmoulton%2Ffutures-native", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrmoulton%2Ffutures-native'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50d08671a0bcc2d3d8338d9e4d1ea67605b1910c [INFO] checking jrmoulton/futures-native against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrmoulton%2Ffutures-native" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jrmoulton/futures-native [INFO] finished tweaking git repo https://github.com/jrmoulton/futures-native [INFO] tweaked toml for git repo https://github.com/jrmoulton/futures-native written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jrmoulton/futures-native on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jrmoulton/futures-native 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f24b96bce5c7aa756406df12da809c843cda47149792dde5f021a5472b0445b7 [INFO] running `Command { std: "docker" "start" "-a" "f24b96bce5c7aa756406df12da809c843cda47149792dde5f021a5472b0445b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f24b96bce5c7aa756406df12da809c843cda47149792dde5f021a5472b0445b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24b96bce5c7aa756406df12da809c843cda47149792dde5f021a5472b0445b7", kill_on_drop: false }` [INFO] [stdout] f24b96bce5c7aa756406df12da809c843cda47149792dde5f021a5472b0445b7 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f41c02a38e697841c395e8302db556b02ae50ddd994b9d91628cff832c3af2c3 [INFO] running `Command { std: "docker" "start" "-a" "f41c02a38e697841c395e8302db556b02ae50ddd994b9d91628cff832c3af2c3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking blockon v0.1.0 (/opt/rustwide/workdir/blockon) [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking schedule-native v0.1.0 (/opt/rustwide/workdir/schedule-native) [INFO] [stdout] warning: unused imports: `Receiver` and `time::Instant` [INFO] [stdout] --> schedule-native/src/lib.rs:442:30 [INFO] [stdout] | [INFO] [stdout] 442 | mpsc::{self, Receiver, Sender}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `time::Instant` [INFO] [stdout] --> schedule-native/src/lib.rs:442:30 [INFO] [stdout] | [INFO] [stdout] 442 | mpsc::{self, Receiver, Sender}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> schedule-native/src/lib.rs:523:77 [INFO] [stdout] | [INFO] [stdout] 523 | fn schedule_after_with_priority(&self, task: F, delay: Duration, priority: Priority) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> schedule-native/src/lib.rs:523:77 [INFO] [stdout] | [INFO] [stdout] 523 | fn schedule_after_with_priority(&self, task: F, delay: Duration, priority: Priority) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking time-native v0.1.0 (/opt/rustwide/workdir/time-native) [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stdout] error[E0432]: unresolved import `super::Duration` [INFO] [stdout] --> time-native/src/platform/linux.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | super::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Duration` in `platform` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::time::Duration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::Duration` [INFO] [stdout] --> time-native/src/platform/linux.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | super::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Duration` in `platform` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::time::Duration [INFO] [stdout] = note: struct `crate::timeout::tests::Duration` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures v0.3.31 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let timer_fd = unsafe { libc::timerfd_create(libc::CLOCK_MONOTONIC, libc::TFD_CLOEXEC) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | let timer_fd = unsafe { libc::timerfd_create(libc::CLOCK_MONOTONIC, libc::TFD_CLOEXEC) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | let timer_fd = unsafe { libc::timerfd_create(libc::CLOCK_MONOTONIC, libc::TFD_CLOEXEC) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | if libc::timerfd_settime(timer_fd, 0, &timer_spec, std::ptr::null_mut()) == -1 { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | libc::close(timer_fd); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let result = libc::read(timer_fd, buffer.as_mut_ptr() as *mut libc::c_void, 8); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | libc::close(timer_fd); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking request-native v0.1.0 (/opt/rustwide/workdir/request-native) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | it_interval: libc::timespec { tv_sec: 0, tv_nsec: 0 }, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:58:75 [INFO] [stdout] | [INFO] [stdout] 58 | let result = libc::read(timer_fd, buffer.as_mut_ptr() as *mut libc::c_void, 8); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | it_value: libc::timespec { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | let timer_spec = libc::itimerspec { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time-native` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let timer_fd = unsafe { libc::timerfd_create(libc::CLOCK_MONOTONIC, libc::TFD_CLOEXEC) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | let timer_fd = unsafe { libc::timerfd_create(libc::CLOCK_MONOTONIC, libc::TFD_CLOEXEC) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | let timer_fd = unsafe { libc::timerfd_create(libc::CLOCK_MONOTONIC, libc::TFD_CLOEXEC) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | if libc::timerfd_settime(timer_fd, 0, &timer_spec, std::ptr::null_mut()) == -1 { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | libc::close(timer_fd); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let result = libc::read(timer_fd, buffer.as_mut_ptr() as *mut libc::c_void, 8); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | libc::close(timer_fd); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PlatformClient` doesn't implement `Debug` [INFO] [stdout] --> request-native/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] 31 | inner: platform::PlatformClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `PlatformClient` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `PlatformClient` or manually `impl Debug for PlatformClient` [INFO] [stdout] help: consider annotating `PlatformClient` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 781 + #[derive(Debug)] [INFO] [stdout] 782 | pub struct PlatformClient { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PlatformClient` doesn't implement `Debug` [INFO] [stdout] --> request-native/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] 31 | inner: platform::PlatformClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `PlatformClient` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `PlatformClient` or manually `impl Debug for PlatformClient` [INFO] [stdout] help: consider annotating `PlatformClient` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 781 + #[derive(Debug)] [INFO] [stdout] 782 | pub struct PlatformClient { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | it_interval: libc::timespec { tv_sec: 0, tv_nsec: 0 }, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:58:75 [INFO] [stdout] | [INFO] [stdout] 58 | let result = libc::read(timer_fd, buffer.as_mut_ptr() as *mut libc::c_void, 8); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | it_value: libc::timespec { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> time-native/src/platform/linux.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | let timer_spec = libc::itimerspec { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time-native` (lib test) due to 12 previous errors [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> request-native/src/lib.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | RequestBody::Form(pairs) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> request-native/src/lib.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | RequestBody::Form(pairs) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `request-native` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `request-native` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f41c02a38e697841c395e8302db556b02ae50ddd994b9d91628cff832c3af2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41c02a38e697841c395e8302db556b02ae50ddd994b9d91628cff832c3af2c3", kill_on_drop: false }` [INFO] [stdout] f41c02a38e697841c395e8302db556b02ae50ddd994b9d91628cff832c3af2c3