[INFO] crate pseudotcp 0.2.0 is already in cache [INFO] testing pseudotcp-0.2.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate pseudotcp 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate pseudotcp 0.2.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4e44084d0697927805499b27705184656393ec6fed9448447236624e12c1e02 [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" "d4e44084d0697927805499b27705184656393ec6fed9448447236624e12c1e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4e44084d0697927805499b27705184656393ec6fed9448447236624e12c1e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e44084d0697927805499b27705184656393ec6fed9448447236624e12c1e02", kill_on_drop: false }` [INFO] [stdout] d4e44084d0697927805499b27705184656393ec6fed9448447236624e12c1e02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0710b05c0029e904e6710e1bde45b61f4f71899ecec2b19ca0c9e3fffaa54f3d [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" "0710b05c0029e904e6710e1bde45b61f4f71899ecec2b19ca0c9e3fffaa54f3d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling condition_variable v0.1.5 [INFO] [stderr] Compiling 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] 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 item '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] running `Command { std: "docker" "inspect" "0710b05c0029e904e6710e1bde45b61f4f71899ecec2b19ca0c9e3fffaa54f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0710b05c0029e904e6710e1bde45b61f4f71899ecec2b19ca0c9e3fffaa54f3d", kill_on_drop: false }` [INFO] [stdout] 0710b05c0029e904e6710e1bde45b61f4f71899ecec2b19ca0c9e3fffaa54f3d