[INFO] fetching crate ws 0.9.1... [INFO] testing ws-0.9.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate ws 0.9.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ws 0.9.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ws 0.9.1 [INFO] finished tweaking crates.io crate ws 0.9.1 [INFO] tweaked toml for crates.io crate ws 0.9.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate ws 0.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3f95884504dd355313e421d528c3654f0ef896e1519a2531232ad0b7a2304a2 [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" "c3f95884504dd355313e421d528c3654f0ef896e1519a2531232ad0b7a2304a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3f95884504dd355313e421d528c3654f0ef896e1519a2531232ad0b7a2304a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f95884504dd355313e421d528c3654f0ef896e1519a2531232ad0b7a2304a2", kill_on_drop: false }` [INFO] [stdout] c3f95884504dd355313e421d528c3654f0ef896e1519a2531232ad0b7a2304a2 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74a335c2da8dcf0cc2f3015a3acfc2c65c00b7453a3caa5421506e73e16f302e [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" "74a335c2da8dcf0cc2f3015a3acfc2c65c00b7453a3caa5421506e73e16f302e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling ws v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.58s [INFO] running `Command { std: "docker" "inspect" "74a335c2da8dcf0cc2f3015a3acfc2c65c00b7453a3caa5421506e73e16f302e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a335c2da8dcf0cc2f3015a3acfc2c65c00b7453a3caa5421506e73e16f302e", kill_on_drop: false }` [INFO] [stdout] 74a335c2da8dcf0cc2f3015a3acfc2c65c00b7453a3caa5421506e73e16f302e [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--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] 1caf00892f1322066885f8c96c6c51527adbb8ceb10f0745895ec5d37b5bcfb0 [INFO] running `Command { std: "docker" "start" "-a" "1caf00892f1322066885f8c96c6c51527adbb8ceb10f0745895ec5d37b5bcfb0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ws v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/html_chat.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/factory.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | factory.connection_made(Sender::new(mio::Token(0), chn, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/router.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn ws::Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ws` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name cli examples/cli.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=22aec839ae3d5b2f -C extra-filename=-22aec839ae3d5b2f --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-16d863000652add8.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-05f4bae6f2586c0c.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-2769daf2ad3a143d.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-eeb6806b2d7059d4.rlib --extern httparse=/opt/rustwide/target/debug/deps/libhttparse-29961d12da07d37e.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-4b959e68662b9d74.rlib --extern mio=/opt/rustwide/target/debug/deps/libmio-d0039039bf700ce5.rlib --extern mio_extras=/opt/rustwide/target/debug/deps/libmio_extras-e155568e52443f3b.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-c87936d43c02419b.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-404e4dd405b6fc49.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-342d21e1f5505122.rlib --extern term=/opt/rustwide/target/debug/deps/libterm-7ce2eccf976bfa83.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-aa6b9207ecb005f0.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-86d6689647f5b1d5.rlib --extern ws=/opt/rustwide/target/debug/deps/libws-dbcd834d9dbcc052.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1caf00892f1322066885f8c96c6c51527adbb8ceb10f0745895ec5d37b5bcfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1caf00892f1322066885f8c96c6c51527adbb8ceb10f0745895ec5d37b5bcfb0", kill_on_drop: false }` [INFO] [stdout] 1caf00892f1322066885f8c96c6c51527adbb8ceb10f0745895ec5d37b5bcfb0