[INFO] updating cached repository https://github.com/flxo/hogfold [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dfcd1391db1f38b76eb01b03ec3f965bdfde19fe [INFO] checking flxo/hogfold against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflxo%2Fhogfold" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flxo/hogfold on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/flxo/hogfold [INFO] removed path dependency mqtt-codec from git repo https://github.com/flxo/hogfold [INFO] finished tweaking git repo https://github.com/flxo/hogfold [INFO] tweaked toml for git repo https://github.com/flxo/hogfold written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/flxo/hogfold already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (mqtt-codec) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (mqtt-codec) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mqtt-codec v0.3.0 [INFO] [stderr] Downloaded actix-codec v0.2.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fca95f008da882fdb81cad9dd90b16987d9d13a79938537d027a43e12789203b [INFO] running `"docker" "start" "-a" "fca95f008da882fdb81cad9dd90b16987d9d13a79938537d027a43e12789203b"` [INFO] [stderr] warning: dependency (mqtt-codec) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking stream-cancel v0.4.4 [INFO] [stderr] Checking bytestring v0.1.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking tokio-reactor v0.1.11 [INFO] [stderr] Checking mqtt-codec v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-threadpool v0.1.17 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hogfold v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:98:64 [INFO] [stderr] | [INFO] [stderr] 98 | } => self.subscribe(&client_id, packet_id, &topic_filters), [INFO] [stderr] | ^^^^^^^^^^^^^^ expected slice, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[(string::String, mqtt_codec::proto::QoS)]` [INFO] [stderr] found reference `&&std::vec::Vec<(bytestring::ByteString, mqtt_codec::proto::QoS)>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:102:66 [INFO] [stderr] | [INFO] [stderr] 102 | } => self.unsubscribe(&client_id, packet_id, &topic_filters), [INFO] [stderr] | ^^^^^^^^^^^^^^ expected slice, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[string::String]` [INFO] [stderr] found reference `&&std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:146:32 [INFO] [stderr] | [INFO] [stderr] 146 | topic: string::String::from_str(&topic), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytestring::ByteString`, found struct `string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `bytestring::ByteString` [INFO] [stderr] found struct `string::String<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:148:25 [INFO] [stderr] | [INFO] [stderr] 148 | payload, [INFO] [stderr] | ^^^^^^^ expected struct `bytes::bytes::Bytes`, found a different struct `bytes::bytes::Bytes` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `bytes` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `string::String: std::borrow::Borrow` is not satisfied [INFO] [stderr] --> src/broker.rs:240:30 [INFO] [stderr] | [INFO] [stderr] 240 | self.retains.remove(&publish.topic); [INFO] [stderr] | ^^^^^^ the trait `std::borrow::Borrow` is not implemented for `string::String` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as std::borrow::Borrow> [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:242:37 [INFO] [stderr] | [INFO] [stderr] 242 | self.retains.insert(publish.topic.clone(), publish.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `string::String`, found struct `bytestring::ByteString` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `string::String` [INFO] [stderr] found struct `bytestring::ByteString` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `mqtt_codec::codec::Codec: tokio_io::codec::decoder::Decoder` is not satisfied [INFO] [stderr] --> src/broker.rs:335:50 [INFO] [stderr] | [INFO] [stderr] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio_io::codec::decoder::Decoder` is not implemented for `mqtt_codec::codec::Codec` [INFO] [stderr] | [INFO] [stderr] = note: required by `tokio_io::_tokio_codec::framed::Framed::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `mqtt_codec::codec::Codec: tokio_io::codec::encoder::Encoder` is not satisfied [INFO] [stderr] --> src/broker.rs:335:50 [INFO] [stderr] | [INFO] [stderr] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio_io::codec::encoder::Encoder` is not implemented for `mqtt_codec::codec::Codec` [INFO] [stderr] | [INFO] [stderr] = note: required by `tokio_io::_tokio_codec::framed::Framed::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `split` found for type `tokio_io::_tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> src/broker.rs:335:76 [INFO] [stderr] | [INFO] [stderr] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stderr] | ^^^^^ method not found in `tokio_io::_tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = note: the method `split` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tokio_io::_tokio_codec::framed::Framed : futures::stream::Stream` [INFO] [stderr] `&mut tokio_io::_tokio_codec::framed::Framed : tokio_io::async_read::AsyncRead` [INFO] [stderr] `tokio_io::_tokio_codec::framed::Framed : futures::stream::Stream` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `hogfold`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:98:64 [INFO] [stderr] | [INFO] [stderr] 98 | } => self.subscribe(&client_id, packet_id, &topic_filters), [INFO] [stderr] | ^^^^^^^^^^^^^^ expected slice, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[(string::String, mqtt_codec::proto::QoS)]` [INFO] [stderr] found reference `&&std::vec::Vec<(bytestring::ByteString, mqtt_codec::proto::QoS)>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:102:66 [INFO] [stderr] | [INFO] [stderr] 102 | } => self.unsubscribe(&client_id, packet_id, &topic_filters), [INFO] [stderr] | ^^^^^^^^^^^^^^ expected slice, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[string::String]` [INFO] [stderr] found reference `&&std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:146:32 [INFO] [stderr] | [INFO] [stderr] 146 | topic: string::String::from_str(&topic), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytestring::ByteString`, found struct `string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `bytestring::ByteString` [INFO] [stderr] found struct `string::String<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:148:25 [INFO] [stderr] | [INFO] [stderr] 148 | payload, [INFO] [stderr] | ^^^^^^^ expected struct `bytes::bytes::Bytes`, found a different struct `bytes::bytes::Bytes` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `bytes` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `string::String: std::borrow::Borrow` is not satisfied [INFO] [stderr] --> src/broker.rs:240:30 [INFO] [stderr] | [INFO] [stderr] 240 | self.retains.remove(&publish.topic); [INFO] [stderr] | ^^^^^^ the trait `std::borrow::Borrow` is not implemented for `string::String` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as std::borrow::Borrow> [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/broker.rs:242:37 [INFO] [stderr] | [INFO] [stderr] 242 | self.retains.insert(publish.topic.clone(), publish.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `string::String`, found struct `bytestring::ByteString` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `string::String` [INFO] [stderr] found struct `bytestring::ByteString` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `mqtt_codec::codec::Codec: tokio_io::codec::decoder::Decoder` is not satisfied [INFO] [stderr] --> src/broker.rs:335:50 [INFO] [stderr] | [INFO] [stderr] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio_io::codec::decoder::Decoder` is not implemented for `mqtt_codec::codec::Codec` [INFO] [stderr] | [INFO] [stderr] = note: required by `tokio_io::_tokio_codec::framed::Framed::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `mqtt_codec::codec::Codec: tokio_io::codec::encoder::Encoder` is not satisfied [INFO] [stderr] --> src/broker.rs:335:50 [INFO] [stderr] | [INFO] [stderr] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio_io::codec::encoder::Encoder` is not implemented for `mqtt_codec::codec::Codec` [INFO] [stderr] | [INFO] [stderr] = note: required by `tokio_io::_tokio_codec::framed::Framed::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `split` found for type `tokio_io::_tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> src/broker.rs:335:76 [INFO] [stderr] | [INFO] [stderr] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stderr] | ^^^^^ method not found in `tokio_io::_tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = note: the method `split` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tokio_io::_tokio_codec::framed::Framed : futures::stream::Stream` [INFO] [stderr] `&mut tokio_io::_tokio_codec::framed::Framed : tokio_io::async_read::AsyncRead` [INFO] [stderr] `tokio_io::_tokio_codec::framed::Framed : futures::stream::Stream` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `hogfold`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fca95f008da882fdb81cad9dd90b16987d9d13a79938537d027a43e12789203b"` [INFO] running `"docker" "rm" "-f" "fca95f008da882fdb81cad9dd90b16987d9d13a79938537d027a43e12789203b"` [INFO] [stdout] fca95f008da882fdb81cad9dd90b16987d9d13a79938537d027a43e12789203b