[INFO] fetching crate libp2prs-websocket 0.2.1... [INFO] checking libp2prs-websocket-0.2.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate libp2prs-websocket 0.2.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate libp2prs-websocket 0.2.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2prs-websocket 0.2.1 [INFO] finished tweaking crates.io crate libp2prs-websocket 0.2.1 [INFO] tweaked toml for crates.io crate libp2prs-websocket 0.2.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae711f013453db169185a814a3e6186e9c5137dbbd6b050c529a22a125b94528 [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" "ae711f013453db169185a814a3e6186e9c5137dbbd6b050c529a22a125b94528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae711f013453db169185a814a3e6186e9c5137dbbd6b050c529a22a125b94528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae711f013453db169185a814a3e6186e9c5137dbbd6b050c529a22a125b94528", kill_on_drop: false }` [INFO] [stdout] ae711f013453db169185a814a3e6186e9c5137dbbd6b050c529a22a125b94528 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] 26407f3161d34fc41033072a00557dd3ff9c1ca821ae3de9c9882254747ffde0 [INFO] running `Command { std: "docker" "start" "-a" "26407f3161d34fc41033072a00557dd3ff9c1ca821ae3de9c9882254747ffde0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking nb-connect v1.0.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking salsa20 v0.7.2 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking async-tls v0.11.0 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking libp2prs-traits v0.2.2 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Compiling libp2prs-core v0.2.2 [INFO] [stderr] Checking libp2prs-runtime v0.2.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling multihash-derive v0.7.1 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking libp2prs-multiaddr v0.2.2 [INFO] [stderr] Checking libp2prs-websocket v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `libp2prs_tcp` [INFO] [stdout] --> src/framed.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use libp2prs_tcp::TcpTransStream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_dns` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2prs_dns::DnsConfig; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_dns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_tcp` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2prs_tcp::{TcpConfig, TcpTransStream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_tcp` [INFO] [stdout] --> src/framed.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use libp2prs_tcp::TcpTransStream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_dns` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2prs_dns::DnsConfig; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_dns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_tcp` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2prs_tcp::{TcpConfig, TcpTransStream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/framed.rs:257:33 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(Either::Left(redirect)) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/framed.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(Either::Left(redirect)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `either::Left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/framed.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | Ok(Either::Right(conn)) => return Ok(conn), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `either::Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionInfo` [INFO] [stdout] --> src/framed.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2prs_core::transport::{ConnectionInfo, ListenerEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2prs-websocket` [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[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/framed.rs:257:33 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(Either::Left(redirect)) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/framed.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(Either::Left(redirect)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `either::Left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/framed.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | Ok(Either::Right(conn)) => return Ok(conn), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `either::Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionInfo` [INFO] [stdout] --> src/framed.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2prs_core::transport::{ConnectionInfo, ListenerEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadEx` [INFO] [stdout] --> src/lib.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | use libp2prs_traits::{ReadEx, WriteEx}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteEx` [INFO] [stdout] --> src/lib.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | use libp2prs_traits::{ReadEx, WriteEx}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "26407f3161d34fc41033072a00557dd3ff9c1ca821ae3de9c9882254747ffde0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26407f3161d34fc41033072a00557dd3ff9c1ca821ae3de9c9882254747ffde0", kill_on_drop: false }` [INFO] [stdout] 26407f3161d34fc41033072a00557dd3ff9c1ca821ae3de9c9882254747ffde0