[INFO] fetching crate pseudotcp 0.2.0... [INFO] checking pseudotcp-0.2.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate pseudotcp 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate pseudotcp 0.2.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded condition_variable v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74d4d6f3c45abf9dcecf4897be56d81f7bddb686af780e1623685ac2dad74a2 [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" "e74d4d6f3c45abf9dcecf4897be56d81f7bddb686af780e1623685ac2dad74a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74d4d6f3c45abf9dcecf4897be56d81f7bddb686af780e1623685ac2dad74a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74d4d6f3c45abf9dcecf4897be56d81f7bddb686af780e1623685ac2dad74a2", kill_on_drop: false }` [INFO] [stdout] e74d4d6f3c45abf9dcecf4897be56d81f7bddb686af780e1623685ac2dad74a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e335555515d5cf2e045ae01c061bd572c5b8b3915d5903d58b76d8b0989bc1f [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" "2e335555515d5cf2e045ae01c061bd572c5b8b3915d5903d58b76d8b0989bc1f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.25 [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[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: 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[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: 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[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[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] 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: 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" "2e335555515d5cf2e045ae01c061bd572c5b8b3915d5903d58b76d8b0989bc1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e335555515d5cf2e045ae01c061bd572c5b8b3915d5903d58b76d8b0989bc1f", kill_on_drop: false }` [INFO] [stdout] 2e335555515d5cf2e045ae01c061bd572c5b8b3915d5903d58b76d8b0989bc1f