[INFO] updating cached repository https://github.com/flxo/hogfold [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfcd1391db1f38b76eb01b03ec3f965bdfde19fe [INFO] testing flxo/hogfold against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflxo%2Fhogfold" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flxo/hogfold on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/flxo/hogfold already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36f8459fd3c956f145c73721b94c0d39a685a9a1dfc9ca3c35f972e68d0f7c7f [INFO] running `Command { std: "docker" "start" "-a" "36f8459fd3c956f145c73721b94c0d39a685a9a1dfc9ca3c35f972e68d0f7c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36f8459fd3c956f145c73721b94c0d39a685a9a1dfc9ca3c35f972e68d0f7c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f8459fd3c956f145c73721b94c0d39a685a9a1dfc9ca3c35f972e68d0f7c7f", kill_on_drop: false }` [INFO] [stdout] 36f8459fd3c956f145c73721b94c0d39a685a9a1dfc9ca3c35f972e68d0f7c7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f955ca5718a9d74b53061b0997a08f0a46f6932006d456dc889e27607680415 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4f955ca5718a9d74b53061b0997a08f0a46f6932006d456dc889e27607680415", kill_on_drop: false }` [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] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling hashbrown v0.2.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mqtt-codec v0.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling stream-cancel v0.4.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling hogfold v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/broker.rs:98:64 [INFO] [stdout] | [INFO] [stdout] 98 | } => self.subscribe(&client_id, packet_id, &topic_filters), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected slice, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(string::String, mqtt_codec::proto::QoS)]` [INFO] [stdout] found reference `&&std::vec::Vec<(bytestring::ByteString, mqtt_codec::proto::QoS)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/broker.rs:102:66 [INFO] [stdout] | [INFO] [stdout] 102 | } => self.unsubscribe(&client_id, packet_id, &topic_filters), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected slice, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[string::String]` [INFO] [stdout] found reference `&&std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/broker.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | topic: string::String::from_str(&topic), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytestring::ByteString`, found struct `string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytestring::ByteString` [INFO] [stdout] found struct `string::String<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/broker.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | payload, [INFO] [stdout] | ^^^^^^^ expected struct `bytes::bytes::Bytes`, found a different struct `bytes::bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `bytes` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `string::String: std::borrow::Borrow` is not satisfied [INFO] [stdout] --> src/broker.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | self.retains.remove(&publish.topic); [INFO] [stdout] | ^^^^^^ the trait `std::borrow::Borrow` is not implemented for `string::String` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as std::borrow::Borrow> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/broker.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | self.retains.insert(publish.topic.clone(), publish.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `string::String`, found struct `bytestring::ByteString` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `string::String` [INFO] [stdout] found struct `bytestring::ByteString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mqtt_codec::codec::Codec: tokio_io::codec::decoder::Decoder` is not satisfied [INFO] [stdout] --> src/broker.rs:335:50 [INFO] [stdout] | [INFO] [stdout] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio_io::codec::decoder::Decoder` is not implemented for `mqtt_codec::codec::Codec` [INFO] [stdout] | [INFO] [stdout] = note: required by `tokio_io::_tokio_codec::framed::Framed::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mqtt_codec::codec::Codec: tokio_io::codec::encoder::Encoder` is not satisfied [INFO] [stdout] --> src/broker.rs:335:50 [INFO] [stdout] | [INFO] [stdout] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio_io::codec::encoder::Encoder` is not implemented for `mqtt_codec::codec::Codec` [INFO] [stdout] | [INFO] [stdout] = note: required by `tokio_io::_tokio_codec::framed::Framed::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for struct `tokio_io::_tokio_codec::framed::Framed` in the current scope [INFO] [stdout] --> src/broker.rs:335:76 [INFO] [stdout] | [INFO] [stdout] 335 | let (sink, stream) = Framed::new(stream, mqtt_codec::Codec::new()).split(); [INFO] [stdout] | ^^^^^ method not found in `tokio_io::_tokio_codec::framed::Framed` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mqtt-codec-0.3.0/src/codec/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Codec { [INFO] [stdout] | ---------------- doesn't satisfy `_: tokio_io::codec::decoder::Decoder` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-io-0.1.13/src/_tokio_codec/framed.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Framed { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: futures::stream::Stream` [INFO] [stdout] | doesn't satisfy `_: tokio_io::async_read::AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the method `split` exists but the following trait bounds were not satisfied: [INFO] [stdout] `mqtt_codec::codec::Codec: tokio_io::codec::decoder::Decoder` [INFO] [stdout] which is required by `tokio_io::_tokio_codec::framed::Framed: futures::stream::Stream` [INFO] [stdout] `tokio_io::_tokio_codec::framed::Framed: tokio_io::async_read::AsyncRead` [INFO] [stdout] which is required by `&mut tokio_io::_tokio_codec::framed::Framed: tokio_io::async_read::AsyncRead` [INFO] [stdout] `tokio_io::_tokio_codec::framed::Framed: futures::stream::Stream` [INFO] [stdout] which is required by `&mut tokio_io::_tokio_codec::framed::Framed: futures::stream::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hogfold`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4f955ca5718a9d74b53061b0997a08f0a46f6932006d456dc889e27607680415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f955ca5718a9d74b53061b0997a08f0a46f6932006d456dc889e27607680415", kill_on_drop: false }` [INFO] [stdout] 4f955ca5718a9d74b53061b0997a08f0a46f6932006d456dc889e27607680415