[INFO] fetching crate ockam_transport_websocket 0.35.0... [INFO] testing ockam_transport_websocket-0.35.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ockam_transport_websocket 0.35.0 into /workspace/builds/worker-68/source [INFO] validating manifest of crates.io crate ockam_transport_websocket 0.35.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ockam_transport_websocket 0.35.0 [INFO] finished tweaking crates.io crate ockam_transport_websocket 0.35.0 [INFO] tweaked toml for crates.io crate ockam_transport_websocket 0.35.0 written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate crates.io crate ockam_transport_websocket 0.35.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5155f502f41901a2fa8f6a441df5e7c928938f8bc231c667062b4aec47427c80 [INFO] running `Command { std: "docker" "start" "-a" "5155f502f41901a2fa8f6a441df5e7c928938f8bc231c667062b4aec47427c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5155f502f41901a2fa8f6a441df5e7c928938f8bc231c667062b4aec47427c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5155f502f41901a2fa8f6a441df5e7c928938f8bc231c667062b4aec47427c80", kill_on_drop: false }` [INFO] [stdout] 5155f502f41901a2fa8f6a441df5e7c928938f8bc231c667062b4aec47427c80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aff2a36e724ec013118ce77ffaabda223cff763f823d2e822372ca377182537 [INFO] running `Command { std: "docker" "start" "-a" "0aff2a36e724ec013118ce77ffaabda223cff763f823d2e822372ca377182537", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling core2 v0.3.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling ockam_macros v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling futures v0.3.21 [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.46.0 [INFO] [stderr] Compiling ockam_executor v0.15.0 [INFO] [stderr] Compiling ockam_transport_core v0.20.0 [INFO] [stderr] Compiling ockam_node v0.45.0 [INFO] [stderr] Compiling ockam_transport_websocket v0.35.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.74s [INFO] running `Command { std: "docker" "inspect" "0aff2a36e724ec013118ce77ffaabda223cff763f823d2e822372ca377182537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aff2a36e724ec013118ce77ffaabda223cff763f823d2e822372ca377182537", kill_on_drop: false }` [INFO] [stdout] 0aff2a36e724ec013118ce77ffaabda223cff763f823d2e822372ca377182537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7099f0b2befddd5c273e60d33c5423b439a2c77bd9083feabfd25e534591b6f1 [INFO] running `Command { std: "docker" "start" "-a" "7099f0b2befddd5c273e60d33c5423b439a2c77bd9083feabfd25e534591b6f1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling ockam_node v0.45.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling ockam_transport_websocket v0.35.0 (/opt/rustwide/workdir) [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/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] 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] 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: 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" "7099f0b2befddd5c273e60d33c5423b439a2c77bd9083feabfd25e534591b6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7099f0b2befddd5c273e60d33c5423b439a2c77bd9083feabfd25e534591b6f1", kill_on_drop: false }` [INFO] [stdout] 7099f0b2befddd5c273e60d33c5423b439a2c77bd9083feabfd25e534591b6f1