[INFO] fetching crate hawk-ws 0.1.1... [INFO] checking hawk-ws-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hawk-ws 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate hawk-ws 0.1.1 [INFO] finished tweaking crates.io crate hawk-ws 0.1.1 [INFO] tweaked toml for crates.io crate hawk-ws 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hawk-ws 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.45) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.4) [INFO] [stderr] Adding openssl v0.9.24 (available: v0.10.73) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding sha1 v0.2.0 (available: v0.10.6) [INFO] [stderr] Adding slab v0.3.0 (available: v0.4.11) [INFO] [stderr] Adding term v0.4.6 (available: v1.1.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59418e6854f6dd4066cc9579c778689cfcb3482188eea4c9621cdf0ab1d6a45b [INFO] running `Command { std: "docker" "start" "-a" "59418e6854f6dd4066cc9579c778689cfcb3482188eea4c9621cdf0ab1d6a45b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59418e6854f6dd4066cc9579c778689cfcb3482188eea4c9621cdf0ab1d6a45b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59418e6854f6dd4066cc9579c778689cfcb3482188eea4c9621cdf0ab1d6a45b", kill_on_drop: false }` [INFO] [stdout] 59418e6854f6dd4066cc9579c778689cfcb3482188eea4c9621cdf0ab1d6a45b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdb45b94e57381a13e1bd1f25ac198b08970ba91341ed6230b6884ce3415c883 [INFO] running `Command { std: "docker" "start" "-a" "fdb45b94e57381a13e1bd1f25ac198b08970ba91341ed6230b6884ce3415c883", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking hawk-ws v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | Custom(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | Custom(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn into_box(self) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn into_box(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> tests/bind.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` (test "bind") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/autobahn-client.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/autobahn-client.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(connect("ws://127.0.0.1:9001/getCaseCount", |out| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/autobahn-client.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let count = try!(msg.as_text()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/external_shutdown.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` (example "external_shutdown") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/autobahn-server.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/bench.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` (example "autobahn-client") due to 1 previous error; 2 warnings emitted [INFO] [stderr] error: could not compile `hawk-ws` (example "autobahn-server") due to 1 previous error [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/bench.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.out.send(MESSAGE)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/bench.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.out.close(CloseCode::Normal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/bench.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.out.send(MESSAGE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/shared.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/ssl-server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/router.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 13 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 82 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/router.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | let mut res = try!(ws::Response::from_request(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/router.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | try!(self.ws.send(*msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` (example "ssl-server") due to 1 previous error [INFO] [stderr] error: could not compile `hawk-ws` (example "bench") due to 1 previous error; 3 warnings emitted [INFO] [stderr] error: could not compile `hawk-ws` (example "router") due to 1 previous error; 4 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` (example "shared") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "fdb45b94e57381a13e1bd1f25ac198b08970ba91341ed6230b6884ce3415c883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb45b94e57381a13e1bd1f25ac198b08970ba91341ed6230b6884ce3415c883", kill_on_drop: false }` [INFO] [stdout] fdb45b94e57381a13e1bd1f25ac198b08970ba91341ed6230b6884ce3415c883