[INFO] fetching crate pseudotcp 0.2.0... [INFO] checking pseudotcp-0.2.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate pseudotcp 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate pseudotcp 0.2.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a735c3262450143efeb469e202f8d3394c9fe8cd2fc5cf6adaba380d7a20a7ea [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" "a735c3262450143efeb469e202f8d3394c9fe8cd2fc5cf6adaba380d7a20a7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a735c3262450143efeb469e202f8d3394c9fe8cd2fc5cf6adaba380d7a20a7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a735c3262450143efeb469e202f8d3394c9fe8cd2fc5cf6adaba380d7a20a7ea", kill_on_drop: false }` [INFO] [stdout] a735c3262450143efeb469e202f8d3394c9fe8cd2fc5cf6adaba380d7a20a7ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ebd6fe8fd45cd70b38b9fd90c4fcc7bb18c0b531653dd9c13886e48e104bc01 [INFO] running `Command { std: "docker" "start" "-a" "0ebd6fe8fd45cd70b38b9fd90c4fcc7bb18c0b531653dd9c13886e48e104bc01", 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 libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [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[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] 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] 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] 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] 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 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" "0ebd6fe8fd45cd70b38b9fd90c4fcc7bb18c0b531653dd9c13886e48e104bc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebd6fe8fd45cd70b38b9fd90c4fcc7bb18c0b531653dd9c13886e48e104bc01", kill_on_drop: false }` [INFO] [stdout] 0ebd6fe8fd45cd70b38b9fd90c4fcc7bb18c0b531653dd9c13886e48e104bc01