[INFO] cloning repository https://github.com/post-rex/pantomath [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/post-rex/pantomath" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fpantomath", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fpantomath'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d17a51aab09aa566f887fdd04024679555d921cf [INFO] checking post-rex/pantomath against master#3cdcdaf31b45f8045164aae9604573d23091970b for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fpantomath" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/post-rex/pantomath on toolchain 3cdcdaf31b45f8045164aae9604573d23091970b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3cdcdaf31b45f8045164aae9604573d23091970b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/post-rex/pantomath [INFO] finished tweaking git repo https://github.com/post-rex/pantomath [INFO] tweaked toml for git repo https://github.com/post-rex/pantomath written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/post-rex/pantomath already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3cdcdaf31b45f8045164aae9604573d23091970b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking post-rex/pantomath against try#05804f728f276cf7ecedbf71c814df440d37f293 for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fpantomath" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/post-rex/pantomath on toolchain 05804f728f276cf7ecedbf71c814df440d37f293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/post-rex/pantomath [INFO] finished tweaking git repo https://github.com/post-rex/pantomath [INFO] tweaked toml for git repo https://github.com/post-rex/pantomath written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/post-rex/pantomath already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aead v0.4.1 [INFO] [stderr] Downloaded poly1305 v0.7.0 [INFO] [stderr] Downloaded nanorand v0.5.2 [INFO] [stderr] Downloaded flume v0.10.7 [INFO] [stderr] Downloaded polyval v0.5.1 [INFO] [stderr] Downloaded aes v0.7.4 [INFO] [stderr] Downloaded aes-gcm v0.9.2 [INFO] [stderr] Downloaded ghash v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ec72c4eee760ac57244bb9d19b9c8081b20f5b5618ffd58c4df69002c947bfb [INFO] running `Command { std: "docker" "start" "-a" "5ec72c4eee760ac57244bb9d19b9c8081b20f5b5618ffd58c4df69002c947bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ec72c4eee760ac57244bb9d19b9c8081b20f5b5618ffd58c4df69002c947bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec72c4eee760ac57244bb9d19b9c8081b20f5b5618ffd58c4df69002c947bfb", kill_on_drop: false }` [INFO] [stdout] 5ec72c4eee760ac57244bb9d19b9c8081b20f5b5618ffd58c4df69002c947bfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a2456de445419d79849cf80317f978c3fb17ef83939d8c9715c3b941b81e992 [INFO] running `Command { std: "docker" "start" "-a" "4a2456de445419d79849cf80317f978c3fb17ef83939d8c9715c3b941b81e992", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking polyval v0.5.1 [INFO] [stderr] Checking aead v0.4.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ed25519 v1.1.1 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking ghash v0.4.2 [INFO] [stderr] Compiling snow v0.8.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking aes v0.7.4 [INFO] [stderr] Checking ctr v0.7.0 [INFO] [stderr] Checking poly1305 v0.7.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling tokio v1.8.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking aes-gcm v0.9.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking nanorand v0.5.2 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking mimalloc v0.1.26 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking chacha20 v0.7.1 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking chacha20poly1305 v0.8.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking flume v0.10.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Compiling pantomath v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stdout] error[E0432]: unresolved imports `crate::proto::protocol::make_channel_response`, `crate::proto::protocol::MakeChannelResponse` [INFO] [stdout] --> src/noise/mod.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | make_channel_response::Kind as McrKind, protocol_packet::Kind as PKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `make_channel_response` in `protocol` [INFO] [stdout] 357 | MakeChannelResponse, ProtocolPacket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `MakeChannelResponse` in `proto::protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::proto::protocol::make_channel_response`, `crate::proto::protocol::MakeChannelResponse` [INFO] [stdout] --> src/noise/mod.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | make_channel_response::Kind as McrKind, protocol_packet::Kind as PKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `make_channel_response` in `protocol` [INFO] [stdout] 357 | MakeChannelResponse, ProtocolPacket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `MakeChannelResponse` in `proto::protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/noise/channel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/noise/listener.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/noise/channel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/noise/listener.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/noise/mod.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | impl MaybeShared { [INFO] [stdout] | ^^^^^^^^^^^--- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 0 generic parameters [INFO] [stdout] --> src/noise/mod.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | enum MaybeShared { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/noise/mod.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | impl MaybeShared { [INFO] [stdout] | ^^^^^^^^^^^--- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 0 generic parameters [INFO] [stdout] --> src/noise/mod.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | enum MaybeShared { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_shared` found for enum `MaybeShared` in the current scope [INFO] [stdout] --> src/noise/mod.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 38 | enum MaybeShared { [INFO] [stdout] | ---------------- method `make_shared` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 71 | self.0.make_shared(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `MaybeShared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_shared` found for enum `MaybeShared` in the current scope [INFO] [stdout] --> src/noise/mod.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 38 | enum MaybeShared { [INFO] [stdout] | ---------------- method `make_shared` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 71 | self.0.make_shared(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `MaybeShared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `lock` because it is borrowed [INFO] [stdout] --> src/noise/mod.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 129 | let mut lock = share.inner.try_lock(); [INFO] [stdout] | -------- binding `lock` declared here [INFO] [stdout] 130 | let (res, permit) = if let Ok(inside) = lock.as_deref_mut() { [INFO] [stdout] | ---- borrow of `lock` occurs here [INFO] [stdout] ... [INFO] [stdout] 155 | drop(lock); [INFO] [stdout] | ^^^^ move out of `lock` occurs here [INFO] [stdout] 156 | // Then we will clear our semaphore so the the channels wont get stuck on a maybe later resolved notification [INFO] [stdout] 157 | drop(permit); [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `lock` because it is borrowed [INFO] [stdout] --> src/noise/mod.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 129 | let mut lock = share.inner.try_lock(); [INFO] [stdout] | -------- binding `lock` declared here [INFO] [stdout] 130 | let (res, permit) = if let Ok(inside) = lock.as_deref_mut() { [INFO] [stdout] | ---- borrow of `lock` occurs here [INFO] [stdout] ... [INFO] [stdout] 155 | drop(lock); [INFO] [stdout] | ^^^^ move out of `lock` occurs here [INFO] [stdout] 156 | // Then we will clear our semaphore so the the channels wont get stuck on a maybe later resolved notification [INFO] [stdout] 157 | drop(permit); [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:302:52 [INFO] [stdout] | [INFO] [stdout] 302 | self.channels[r_id as usize] = ChannelState::None; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:302:52 [INFO] [stdout] | [INFO] [stdout] 302 | self.channels[r_id as usize] = ChannelState::None; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/noise/mod.rs:317:52 [INFO] [stdout] | [INFO] [stdout] 317 | NsRequest::Send(bytes, tx) => self.recv_send_updt(), [INFO] [stdout] | ^^^^^^^^^^^^^^-- an argument of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/noise/mod.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | async fn recv_send_updt(&mut self, send: Option) -> Result<(), StreamError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 317 | NsRequest::Send(bytes, tx) => self.recv_send_updt(/* Option */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/noise/mod.rs:317:52 [INFO] [stdout] | [INFO] [stdout] 317 | NsRequest::Send(bytes, tx) => self.recv_send_updt(), [INFO] [stdout] | ^^^^^^^^^^^^^^-- an argument of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/noise/mod.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | async fn recv_send_updt(&mut self, send: Option) -> Result<(), StreamError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 317 | NsRequest::Send(bytes, tx) => self.recv_send_updt(/* Option */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/noise/mod.rs:318:44 [INFO] [stdout] | [INFO] [stdout] 316 | / match update { [INFO] [stdout] 317 | | NsRequest::Send(bytes, tx) => self.recv_send_updt(), [INFO] [stdout] | | --------------------- this is found to be of type `impl futures::Future>` [INFO] [stdout] 318 | | NsRequest::Recv(id, tx) => {} [INFO] [stdout] | | ^^ expected future, found `()` [INFO] [stdout] 319 | | } [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/noise/mod.rs:318:44 [INFO] [stdout] | [INFO] [stdout] 316 | / match update { [INFO] [stdout] 317 | | NsRequest::Send(bytes, tx) => self.recv_send_updt(), [INFO] [stdout] | | --------------------- this is found to be of type `impl futures::Future>` [INFO] [stdout] 318 | | NsRequest::Recv(id, tx) => {} [INFO] [stdout] | | ^^ expected future, found `()` [INFO] [stdout] 319 | | } [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_owned` found for struct `Semaphore` in the current scope [INFO] [stdout] --> src/noise/mod.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | let permit = share.update_block.acquire_owned().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.8.0/src/sync/semaphore.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | pub async fn acquire_owned(self: Arc) -> Result { [INFO] [stdout] | ------------- the method is available for `Arc` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 330 | let permit = Arc::new(share.update_block).acquire_owned().await.unwrap(); [INFO] [stdout] | +++++++++ + [INFO] [stdout] help: there is a method `acquire` with a similar name [INFO] [stdout] | [INFO] [stdout] 330 | let permit = share.update_block.acquire().await.unwrap(); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srsu` [INFO] [stdout] --> src/noise/mod.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let srsu = select::SafeRecvSendUpdt { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srsu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_owned` found for struct `Semaphore` in the current scope [INFO] [stdout] --> src/noise/mod.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | let permit = share.update_block.acquire_owned().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.8.0/src/sync/semaphore.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | pub async fn acquire_owned(self: Arc) -> Result { [INFO] [stdout] | ------------- the method is available for `Arc` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 330 | let permit = Arc::new(share.update_block).acquire_owned().await.unwrap(); [INFO] [stdout] | +++++++++ + [INFO] [stdout] help: there is a method `acquire` with a similar name [INFO] [stdout] | [INFO] [stdout] 330 | let permit = share.update_block.acquire().await.unwrap(); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:349:38 [INFO] [stdout] | [INFO] [stdout] 349 | .for_each(|soon| *soon = ChannelState::None); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srsu` [INFO] [stdout] --> src/noise/mod.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let srsu = select::SafeRecvSendUpdt { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srsu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:349:38 [INFO] [stdout] | [INFO] [stdout] 349 | .for_each(|soon| *soon = ChannelState::None); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MakeChannelResponse` found for enum `protocol_packet::Kind` in the current scope [INFO] [stdout] --> src/noise/mod.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | PKind::MakeChannelResponse(mcrsp) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Kind` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/pantomath-1757c2d3a67fe99e/out/proto.protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Kind { [INFO] [stdout] | ------------- variant or associated item `MakeChannelResponse` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MakeChannelResponse` found for enum `protocol_packet::Kind` in the current scope [INFO] [stdout] --> src/noise/mod.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | PKind::MakeChannelResponse(mcrsp) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Kind` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/pantomath-1757c2d3a67fe99e/out/proto.protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Kind { [INFO] [stdout] | ------------- variant or associated item `MakeChannelResponse` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/noise/channel.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn send(&mut self, m: &M) -> Result<(), StreamError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/noise/channel.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn send(&mut self, m: &M) -> Result<(), StreamError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/noise/handshake.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | channels: [ICH_NONE; 0xFF], [INFO] [stdout] | ^^^^^^^^ expected `Option`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `share` in initializer of `InnerNoiseStream` [INFO] [stdout] --> src/noise/handshake.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(NoiseStream(MaybeShared::Owned(InnerNoiseStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/noise/handshake.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(NoiseStream(MaybeShared::Owned(InnerNoiseStream { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 59 | | stream: self.stream, [INFO] [stdout] 60 | | noise: self.state.into_transport_mode()?, [INFO] [stdout] 61 | | channels: [ICH_NONE; 0xFF], [INFO] [stdout] 62 | | update_queue: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 63 | | }))) [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/noise/handshake.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | channels: [ICH_NONE; 0xFF], [INFO] [stdout] | ^^^^^^^^ expected `Option`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `share` in initializer of `InnerNoiseStream` [INFO] [stdout] --> src/noise/handshake.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(NoiseStream(MaybeShared::Owned(InnerNoiseStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/noise/handshake.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(NoiseStream(MaybeShared::Owned(InnerNoiseStream { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 59 | | stream: self.stream, [INFO] [stdout] 60 | | noise: self.state.into_transport_mode()?, [INFO] [stdout] 61 | | channels: [ICH_NONE; 0xFF], [INFO] [stdout] 62 | | update_queue: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 63 | | }))) [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/noise/channel.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / Self { [INFO] [stdout] 47 | | sender: p1s, [INFO] [stdout] 48 | | receiver: p2r, [INFO] [stdout] 49 | | id, [INFO] [stdout] 50 | | stream: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 51 | | }, [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/noise/channel.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / Self { [INFO] [stdout] 47 | | sender: p1s, [INFO] [stdout] 48 | | receiver: p2r, [INFO] [stdout] 49 | | id, [INFO] [stdout] 50 | | stream: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 51 | | }, [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1r` [INFO] [stdout] --> src/noise/channel.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let (p1s, p1r) = flume::unbounded(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2s` [INFO] [stdout] --> src/noise/channel.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (p2s, p2r) = flume::unbounded(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1r` [INFO] [stdout] --> src/noise/channel.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let (p1s, p1r) = flume::unbounded(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p1r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2s` [INFO] [stdout] --> src/noise/channel.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (p2s, p2r) = flume::unbounded(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p2s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/noise/udp_controller/client.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | &self.0.load(Ordering::Acquire) [INFO] [stdout] | ^------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/noise/udp_controller/client.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | &self.0.load(Ordering::Acquire) [INFO] [stdout] | ^------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | ChannelState::Now(ch) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:400:49 [INFO] [stdout] | [INFO] [stdout] 400 | .filter(|(soon, _)| matches!(*soon, ChannelState::None)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:374:61 [INFO] [stdout] | [INFO] [stdout] 374 | .filter(|(soon, _)| matches!(*soon, ChannelState::None)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:369:50 [INFO] [stdout] | [INFO] [stdout] 369 | if !matches!(&self.channels[id], ChannelState::None) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0107, E0308, E0432, E0433, E0505, E0515, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | ChannelState::Now(ch) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:400:49 [INFO] [stdout] | [INFO] [stdout] 400 | .filter(|(soon, _)| matches!(*soon, ChannelState::None)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:374:61 [INFO] [stdout] | [INFO] [stdout] 374 | .filter(|(soon, _)| matches!(*soon, ChannelState::None)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChannelState` [INFO] [stdout] --> src/noise/mod.rs:369:50 [INFO] [stdout] | [INFO] [stdout] 369 | if !matches!(&self.channels[id], ChannelState::None) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0107, E0308, E0432, E0433, E0505, E0515, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pantomath` (lib test) due to 18 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pantomath` (lib) due to 18 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a2456de445419d79849cf80317f978c3fb17ef83939d8c9715c3b941b81e992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a2456de445419d79849cf80317f978c3fb17ef83939d8c9715c3b941b81e992", kill_on_drop: false }` [INFO] [stdout] 4a2456de445419d79849cf80317f978c3fb17ef83939d8c9715c3b941b81e992