[INFO] fetching crate ws 0.9.1... [INFO] testing ws-0.9.1 against 1.55.0 for beta-1.56-1 [INFO] extracting crate ws 0.9.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate ws 0.9.1 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-10/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cd2eb40ffc0051aad8f8c4a2d94d97d65ac7610333bd97676f4c981ba302878 [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" "2cd2eb40ffc0051aad8f8c4a2d94d97d65ac7610333bd97676f4c981ba302878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cd2eb40ffc0051aad8f8c4a2d94d97d65ac7610333bd97676f4c981ba302878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd2eb40ffc0051aad8f8c4a2d94d97d65ac7610333bd97676f4c981ba302878", kill_on_drop: false }` [INFO] [stdout] 2cd2eb40ffc0051aad8f8c4a2d94d97d65ac7610333bd97676f4c981ba302878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8205ad2932635e2cf5770ffe1d56fc00fd025a2a18172136f42d488ea62625ce [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" "8205ad2932635e2cf5770ffe1d56fc00fd025a2a18172136f42d488ea62625ce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.12 [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 mio v0.6.19 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [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 18.44s [INFO] running `Command { std: "docker" "inspect" "8205ad2932635e2cf5770ffe1d56fc00fd025a2a18172136f42d488ea62625ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8205ad2932635e2cf5770ffe1d56fc00fd025a2a18172136f42d488ea62625ce", kill_on_drop: false }` [INFO] [stdout] 8205ad2932635e2cf5770ffe1d56fc00fd025a2a18172136f42d488ea62625ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cc7feace379039c4161c1e5f0e143db02f99d0766d0477ebddf3dff3112f0d0 [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" "9cc7feace379039c4161c1e5f0e143db02f99d0766d0477ebddf3dff3112f0d0", kill_on_drop: false }` [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling term v0.5.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: 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] [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] [stderr] error: could not compile `ws`; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name router examples/router.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=9c95fba73ebf8f80 -C extra-filename=-9c95fba73ebf8f80 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-c5f792632ea8cd22.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-aa92e2cd56aaf483.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-764e0d1f8da8a78b.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-76178947af4cfc4f.rlib --extern httparse=/opt/rustwide/target/debug/deps/libhttparse-bddf136980e817ef.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-ef319cfe97d0a4d1.rlib --extern mio=/opt/rustwide/target/debug/deps/libmio-338110f4e36b1c27.rlib --extern mio_extras=/opt/rustwide/target/debug/deps/libmio_extras-4b03119e310635a1.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-a0ac5a1565b8476b.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-298bea3be2d3b436.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-31c88580e3b60f0d.rlib --extern term=/opt/rustwide/target/debug/deps/libterm-783abca4b2bce101.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-a23672d61b8826a6.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-2266f19d534bc8a2.rlib --extern ws=/opt/rustwide/target/debug/deps/libws-cd19a31bba0cacf5.rlib --cap-lints=warn` (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" "9cc7feace379039c4161c1e5f0e143db02f99d0766d0477ebddf3dff3112f0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cc7feace379039c4161c1e5f0e143db02f99d0766d0477ebddf3dff3112f0d0", kill_on_drop: false }` [INFO] [stdout] 9cc7feace379039c4161c1e5f0e143db02f99d0766d0477ebddf3dff3112f0d0