[INFO] fetching crate pseudotcp 0.2.0... [INFO] checking pseudotcp-0.2.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate pseudotcp 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate pseudotcp 0.2.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pseudotcp 0.2.0 [INFO] finished tweaking crates.io crate pseudotcp 0.2.0 [INFO] tweaked toml for crates.io crate pseudotcp 0.2.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e85a5f74c3bf39f3587353f7f99dcc936829c8cb530305b609bdcdc56a103b35 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e85a5f74c3bf39f3587353f7f99dcc936829c8cb530305b609bdcdc56a103b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e85a5f74c3bf39f3587353f7f99dcc936829c8cb530305b609bdcdc56a103b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e85a5f74c3bf39f3587353f7f99dcc936829c8cb530305b609bdcdc56a103b35", kill_on_drop: false }` [INFO] [stdout] e85a5f74c3bf39f3587353f7f99dcc936829c8cb530305b609bdcdc56a103b35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b278a6e6cf12ee323356705a602dc99dac65b7a12afe396593721cbf93779f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b278a6e6cf12ee323356705a602dc99dac65b7a12afe396593721cbf93779f7", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking condition_variable v0.1.5 [INFO] [stderr] Checking pseudotcp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/bindings.rs:253:2 [INFO] [stdout] | [INFO] [stdout] 253 | flags PseudoTcpDebugLevel: libc::c_uint { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/bindings.rs:271:2 [INFO] [stdout] | [INFO] [stdout] 271 | flags PseudoTcpState: libc::c_uint { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/bindings.rs:253:2 [INFO] [stdout] | [INFO] [stdout] 253 | flags PseudoTcpDebugLevel: libc::c_uint { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/bindings.rs:271:2 [INFO] [stdout] | [INFO] [stdout] 271 | flags PseudoTcpState: libc::c_uint { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PseudoTcpState` in `ffi` [INFO] [stdout] --> src/api.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | ffi::PseudoTcpState::from_bits(value as u32).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `PseudoTcpState` in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PseudoTcpState` in `ffi` [INFO] [stdout] --> src/api.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | ffi::PseudoTcpState::from_bits(value as u32).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `PseudoTcpState` in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PseudoTcpDebugLevel` in module `ffi` [INFO] [stdout] --> src/api.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn set_debug_level(level: ffi::PseudoTcpDebugLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PseudoTcpState` in module `ffi` [INFO] [stdout] --> src/api.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn get_state(&self) -> ffi::PseudoTcpState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PseudoTcpState` in module `ffi` [INFO] [stdout] --> src/pseudo_tcp_stream.rs:269:34 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn get_state(&self) -> ffi::PseudoTcpState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WR_SUCCESS` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:294:2 [INFO] [stdout] | [INFO] [stdout] 294 | WR_SUCCESS, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `WrSuccess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WR_TOO_LARGE` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:295:2 [INFO] [stdout] | [INFO] [stdout] 295 | WR_TOO_LARGE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WrTooLarge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WR_FAIL` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:296:2 [INFO] [stdout] | [INFO] [stdout] 296 | WR_FAIL, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `WrFail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_TCP_SHUTDOWN_RD` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:301:2 [INFO] [stdout] | [INFO] [stdout] 301 | PSEUDO_TCP_SHUTDOWN_RD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoTcpShutdownRd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_TCP_SHUTDOWN_WR` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:302:2 [INFO] [stdout] | [INFO] [stdout] 302 | PSEUDO_TCP_SHUTDOWN_WR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoTcpShutdownWr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_TCP_SHUTDOWN_RDWR` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:303:2 [INFO] [stdout] | [INFO] [stdout] 303 | PSEUDO_TCP_SHUTDOWN_RDWR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoTcpShutdownRdwr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | pub type OpenedCallback = Fn(PseudoTcpSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ReadableCallback = Fn(PseudoTcpSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub type WritableCallback = Fn(PseudoTcpSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | pub type AbortedCallback = Fn(Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | pub type WritePacketCallback = Fn(PseudoTcpSocket, &[u8]) -> ffi::PseudoTcpWriteResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket, &[u8]) -> ffi::PseudoTcpWriteResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PseudoTcpDebugLevel` in module `ffi` [INFO] [stdout] --> src/api.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn set_debug_level(level: ffi::PseudoTcpDebugLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PseudoTcpState` in module `ffi` [INFO] [stdout] --> src/api.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn get_state(&self) -> ffi::PseudoTcpState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PseudoTcpState` in module `ffi` [INFO] [stdout] --> src/pseudo_tcp_stream.rs:269:34 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn get_state(&self) -> ffi::PseudoTcpState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PSEUDO_TCP_DEBUG_VERBOSE` in module `ffi` [INFO] [stdout] --> src/tests.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | ffi::pseudo_tcp_set_debug_level(ffi::PSEUDO_TCP_DEBUG_VERBOSE.bits()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PSEUDO_TCP_DEBUG_VERBOSE` in module `ffi` [INFO] [stdout] --> src/tests.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | ffi::pseudo_tcp_set_debug_level(ffi::PSEUDO_TCP_DEBUG_VERBOSE.bits()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PSEUDO_TCP_DEBUG_VERBOSE` in module `ffi` [INFO] [stdout] --> src/tests.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | ffi::pseudo_tcp_set_debug_level(ffi::PSEUDO_TCP_DEBUG_VERBOSE.bits()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WR_SUCCESS` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:294:2 [INFO] [stdout] | [INFO] [stdout] 294 | WR_SUCCESS, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `WrSuccess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WR_TOO_LARGE` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:295:2 [INFO] [stdout] | [INFO] [stdout] 295 | WR_TOO_LARGE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WrTooLarge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WR_FAIL` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:296:2 [INFO] [stdout] | [INFO] [stdout] 296 | WR_FAIL, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `WrFail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_TCP_SHUTDOWN_RD` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:301:2 [INFO] [stdout] | [INFO] [stdout] 301 | PSEUDO_TCP_SHUTDOWN_RD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoTcpShutdownRd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_TCP_SHUTDOWN_WR` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:302:2 [INFO] [stdout] | [INFO] [stdout] 302 | PSEUDO_TCP_SHUTDOWN_WR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoTcpShutdownWr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_TCP_SHUTDOWN_RDWR` should have an upper camel case name [INFO] [stdout] --> src/bindings.rs:303:2 [INFO] [stdout] | [INFO] [stdout] 303 | PSEUDO_TCP_SHUTDOWN_RDWR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoTcpShutdownRdwr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | pub type OpenedCallback = Fn(PseudoTcpSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ReadableCallback = Fn(PseudoTcpSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub type WritableCallback = Fn(PseudoTcpSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | pub type AbortedCallback = Fn(Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | pub type WritePacketCallback = Fn(PseudoTcpSocket, &[u8]) -> ffi::PseudoTcpWriteResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PseudoTcpSocket, &[u8]) -> ffi::PseudoTcpWriteResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/pseudo_tcp_stream.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | static mut START: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/pseudo_tcp_stream.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | static mut START: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use time::{SteadyTime, Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | static INIT_LOG: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | let start = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | while SteadyTime::now() - start < Duration::seconds(10) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | let start = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let sec = (SteadyTime::now() - start).num_seconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | let start = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | while SteadyTime::now() - start < Duration::seconds(10) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> src/tests.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let sec = (SteadyTime::now() - start).num_seconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pseudotcp` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/tests.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/tests.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | let sec = (SteadyTime::now() - start).num_seconds(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/tests.rs:312:40 [INFO] [stdout] | [INFO] [stdout] 312 | let sec = (SteadyTime::now() - start).num_seconds(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5b278a6e6cf12ee323356705a602dc99dac65b7a12afe396593721cbf93779f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b278a6e6cf12ee323356705a602dc99dac65b7a12afe396593721cbf93779f7", kill_on_drop: false }` [INFO] [stdout] 5b278a6e6cf12ee323356705a602dc99dac65b7a12afe396593721cbf93779f7