[INFO] fetching crate ockam_transport_websocket 0.28.0... [INFO] testing ockam_transport_websocket-0.28.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate ockam_transport_websocket 0.28.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ockam_transport_websocket 0.28.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ockam_transport_websocket 0.28.0 [INFO] finished tweaking crates.io crate ockam_transport_websocket 0.28.0 [INFO] tweaked toml for crates.io crate ockam_transport_websocket 0.28.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate ockam_transport_websocket 0.28.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 760198a1f823d82d572202e728ffcc3331069c7556f784c768a73206956df40f [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" "760198a1f823d82d572202e728ffcc3331069c7556f784c768a73206956df40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "760198a1f823d82d572202e728ffcc3331069c7556f784c768a73206956df40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760198a1f823d82d572202e728ffcc3331069c7556f784c768a73206956df40f", kill_on_drop: false }` [INFO] [stdout] 760198a1f823d82d572202e728ffcc3331069c7556f784c768a73206956df40f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--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] f57dcb4b063b6f3715c6ffb423eaebc060aabe8c90e0c77bf5df94fb56e31007 [INFO] running `Command { std: "docker" "start" "-a" "f57dcb4b063b6f3715c6ffb423eaebc060aabe8c90e0c77bf5df94fb56e31007", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling heapless v0.7.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling woke v0.0.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.13.1 [INFO] [stderr] Compiling core2 v0.3.2 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ockam_message_derive v0.1.0 [INFO] [stderr] Compiling ockam_macro v0.1.0 [INFO] [stderr] Compiling executor-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling executor v0.7.0 [INFO] [stderr] Compiling ockam_node_no_std v0.12.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling serde_bare v0.5.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ockam_core v0.39.0 [INFO] [stderr] Compiling ockam_executor v0.8.0 [INFO] [stderr] Compiling ockam_transport_core v0.13.0 [INFO] [stderr] Compiling ockam_node v0.38.0 [INFO] [stderr] Compiling ockam_transport_websocket v0.28.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "f57dcb4b063b6f3715c6ffb423eaebc060aabe8c90e0c77bf5df94fb56e31007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57dcb4b063b6f3715c6ffb423eaebc060aabe8c90e0c77bf5df94fb56e31007", kill_on_drop: false }` [INFO] [stdout] f57dcb4b063b6f3715c6ffb423eaebc060aabe8c90e0c77bf5df94fb56e31007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae3125a5c29fe313ca3875d611197a7bb9f95ea26d18d3e3ade6ac48b766cb06 [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" "ae3125a5c29fe313ca3875d611197a7bb9f95ea26d18d3e3ade6ac48b766cb06", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.13.1 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling ockam_node v0.38.0 [INFO] [stderr] Compiling ockam_transport_websocket v0.28.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ockam` [INFO] [stdout] --> examples/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ockam::{route, Context, Result}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `ockam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ockam` [INFO] [stdout] --> examples/client.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[ockam::node] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `ockam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `route` [INFO] [stdout] --> examples/client.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let route = route![(WS, peer_addr.as_str()), "echoer"]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WS` [INFO] [stdout] --> examples/client.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | use ockam_transport_websocket::{WebSocketError, WebSocketTransport, WS}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> examples/server.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 33 | | info!("Message: {}", msg); [INFO] [stdout] 34 | | debug!("Replying back to {}", &msg.return_route()); [INFO] [stdout] 35 | | ctx.send(msg.return_route(), msg.body()).await?; [INFO] [stdout] 36 | | Ok(()) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ockam` [INFO] [stdout] --> examples/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ockam::{worker, Context, Result, Routed, Worker}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `ockam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ockam` [INFO] [stdout] --> examples/server.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[ockam::node] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `ockam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `worker` [INFO] [stdout] --> examples/server.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[worker] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ockam_transport_websocket` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/client.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main(mut ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ae3125a5c29fe313ca3875d611197a7bb9f95ea26d18d3e3ade6ac48b766cb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3125a5c29fe313ca3875d611197a7bb9f95ea26d18d3e3ade6ac48b766cb06", kill_on_drop: false }` [INFO] [stdout] ae3125a5c29fe313ca3875d611197a7bb9f95ea26d18d3e3ade6ac48b766cb06