[INFO] cloning repository https://github.com/Carter12s/roslibrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Carter12s/roslibrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarter12s%2Froslibrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarter12s%2Froslibrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cd37b4db4b357b6c3287adcbabe834d78a75ecc [INFO] testing Carter12s/roslibrust against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarter12s%2Froslibrust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Carter12s/roslibrust 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 git repo https://github.com/Carter12s/roslibrust [INFO] finished tweaking git repo https://github.com/Carter12s/roslibrust [INFO] tweaked toml for git repo https://github.com/Carter12s/roslibrust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/gregdhill/codegen.git` [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 46937d3fa74ac6d79c92b002626cf8a6818b264ef1ef6c0ce54877d8240464b7 [INFO] running `Command { std: "docker" "start" "-a" "46937d3fa74ac6d79c92b002626cf8a6818b264ef1ef6c0ce54877d8240464b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46937d3fa74ac6d79c92b002626cf8a6818b264ef1ef6c0ce54877d8240464b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46937d3fa74ac6d79c92b002626cf8a6818b264ef1ef6c0ce54877d8240464b7", kill_on_drop: false }` [INFO] [stdout] 46937d3fa74ac6d79c92b002626cf8a6818b264ef1ef6c0ce54877d8240464b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] b4589b8632bb7034d55cdfa76463c99094e775aea5269ce590378ef0ba39ddba [INFO] running `Command { std: "docker" "start" "-a" "b4589b8632bb7034d55cdfa76463c99094e775aea5269ce590378ef0ba39ddba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling simple-error v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling codegen v0.1.3 (https://github.com/gregdhill/codegen.git?branch=associated-consts#9a41c4e2) [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling roslibrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/message_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::watch` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::watch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | let _jh = tokio::task::spawn(client_copy.stubborn_spin()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `stubborn_spin` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures::Future>>`, the trait `std::marker::Send` is not implemented for `std::sync::RwLockWriteGuard<'_, WebSocketStream>>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 157 | let mut stream = self.stream.write().unwrap(); [INFO] [stdout] | ---------- has type `std::sync::RwLockWriteGuard<'_, WebSocketStream>>` which is not `Send` [INFO] [stdout] 158 | stream.next().await [INFO] [stdout] | ^^^^^^ await occurs here, with `mut stream` maybe used later [INFO] [stdout] 159 | }; [INFO] [stdout] | - `mut stream` is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn for<'r> Fn(&'r str) + std::marker::Send + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | let _jh = tokio::task::spawn(client_copy.stubborn_spin()); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn for<'r> Fn(&'r str) + std::marker::Send + 'static)` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn for<'r> Fn(&'r str) + std::marker::Send + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique<(dyn for<'r> Fn(&'r str) + std::marker::Send + 'static)>` [INFO] [stdout] = note: required because it appears within the type `Box<(dyn for<'r> Fn(&'r str) + std::marker::Send + 'static)>` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique Fn(&'r str) + std::marker::Send + 'static)>>` [INFO] [stdout] = note: required because it appears within the type `alloc::raw_vec::RawVec Fn(&'r str) + std::marker::Send + 'static)>>` [INFO] [stdout] = note: required because it appears within the type `Vec Fn(&'r str) + std::marker::Send + 'static)>>` [INFO] [stdout] note: required because it appears within the type `Subscription` [INFO] [stdout] --> src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Subscription { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(std::string::String, Subscription)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `hashbrown::raw::RawTable<(std::string::String, Subscription)>` [INFO] [stdout] = note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] = note: required because it appears within the type `HashMap` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `std::sync::RwLock>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `Arc>>` [INFO] [stdout] note: required because it appears within the type `Client` [INFO] [stdout] --> src/lib.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: required because it appears within the type `[static generator@src/lib.rs:209:79: 241:6]` [INFO] [stdout] = note: required because it appears within the type `from_generator::GenFuture<[static generator@src/lib.rs:209:79: 241:6]>` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future>>` [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `entry` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/lib.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | .entry(topic_name.to_string()) [INFO] [stdout] | ^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/lib.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | self.subscriptions.remove(topic_name); [INFO] [stdout] | ^^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `send` exists for struct `Arc>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | self.stream.send(msg).await; [INFO] [stdout] | ^^^^ method cannot be called on `Arc>>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Arc>>>: futures::Sink<_>` [INFO] [stdout] which is required by `Arc>>>: SinkExt<_>` [INFO] [stdout] `std::sync::RwLock>>: futures::Sink<_>` [INFO] [stdout] which is required by `std::sync::RwLock>>: SinkExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `send` exists for struct `Arc>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | self.stream.send(msg).await?; [INFO] [stdout] | ^^^^ method cannot be called on `Arc>>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Arc>>>: futures::Sink<_>` [INFO] [stdout] which is required by `Arc>>>: SinkExt<_>` [INFO] [stdout] `std::sync::RwLock>>: futures::Sink<_>` [INFO] [stdout] which is required by `std::sync::RwLock>>: SinkExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `send` exists for struct `Arc>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | self.stream.send(msg).await?; [INFO] [stdout] | ^^^^ method cannot be called on `Arc>>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Arc>>>: futures::Sink<_>` [INFO] [stdout] which is required by `Arc>>>: SinkExt<_>` [INFO] [stdout] `std::sync::RwLock>>: futures::Sink<_>` [INFO] [stdout] which is required by `std::sync::RwLock>>: SinkExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/lib.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | .get(data.get("topic").unwrap().as_str().unwrap()); [INFO] [stdout] | ^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roslibrust` due to 9 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4589b8632bb7034d55cdfa76463c99094e775aea5269ce590378ef0ba39ddba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4589b8632bb7034d55cdfa76463c99094e775aea5269ce590378ef0ba39ddba", kill_on_drop: false }` [INFO] [stdout] b4589b8632bb7034d55cdfa76463c99094e775aea5269ce590378ef0ba39ddba