[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 master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflxo%2Fhogfold" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flxo/hogfold on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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-7/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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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] running `"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" "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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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] 74c0994ca42d945cd8a2db1707d8cd92b2c39d27ded8333ff9500490f4d2839c [INFO] running `"docker" "start" "-a" "74c0994ca42d945cd8a2db1707d8cd92b2c39d27ded8333ff9500490f4d2839c"` [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 futures v0.1.29 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking hashbrown v0.2.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking tokio v0.2.9 [INFO] [stderr] Checking bytestring v0.1.4 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking mqtt-codec v0.3.0 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking tokio-executor v0.1.9 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking stream-cancel v0.4.4 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.12 [INFO] [stderr] Checking tokio-threadpool v0.1.17 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.11 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.6 [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: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: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: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: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[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[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 struct `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[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: 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: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 struct `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" "74c0994ca42d945cd8a2db1707d8cd92b2c39d27ded8333ff9500490f4d2839c"` [INFO] running `"docker" "rm" "-f" "74c0994ca42d945cd8a2db1707d8cd92b2c39d27ded8333ff9500490f4d2839c"` [INFO] [stdout] 74c0994ca42d945cd8a2db1707d8cd92b2c39d27ded8333ff9500490f4d2839c