[INFO] fetching crate aws-iot-device-sdk-rust 0.0.4...
[INFO] testing aws-iot-device-sdk-rust-0.0.4 against 1.54.0 for beta-1.55-1
[INFO] extracting crate aws-iot-device-sdk-rust 0.0.4 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate aws-iot-device-sdk-rust 0.0.4 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aws-iot-device-sdk-rust 0.0.4
[INFO] finished tweaking crates.io crate aws-iot-device-sdk-rust 0.0.4
[INFO] tweaked toml for crates.io crate aws-iot-device-sdk-rust 0.0.4 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate crates.io crate aws-iot-device-sdk-rust 0.0.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mqtt311 v0.2.0
[INFO] [stderr]   Downloaded rumqtt v0.31.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "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] 9adca3d89122b6a365848445af01cabd910015e9792aa67c3e483d633b73dcc5
[INFO] running `Command { std: "docker" "start" "-a" "9adca3d89122b6a365848445af01cabd910015e9792aa67c3e483d633b73dcc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9adca3d89122b6a365848445af01cabd910015e9792aa67c3e483d633b73dcc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9adca3d89122b6a365848445af01cabd910015e9792aa67c3e483d633b73dcc5", kill_on_drop: false }`
[INFO] [stdout] 9adca3d89122b6a365848445af01cabd910015e9792aa67c3e483d633b73dcc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", 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] bab21748ceb32df983cb06a437b42cc519f05e09d0ae776bc142c6f5f0677e0f
[INFO] running `Command { std: "docker" "start" "-a" "bab21748ceb32df983cb06a437b42cc519f05e09d0ae776bc142c6f5f0677e0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling futures v0.1.29
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling proc-macro2 v1.0.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling syn v1.0.13
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling untrusted v0.6.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling lock_api v0.3.3
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling tokio-executor v0.1.9
[INFO] [stderr]    Compiling tokio-sync v0.1.7
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling ring v0.14.6
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling tokio-timer v0.2.12
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling backtrace v0.3.41
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling tokio-reactor v0.1.11
[INFO] [stderr]    Compiling tokio-threadpool v0.1.17
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling sct v0.5.0
[INFO] [stderr]    Compiling webpki v0.19.1
[INFO] [stderr]    Compiling rustls v0.15.2
[INFO] [stderr]    Compiling derive_more v0.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling tokio-rustls v0.9.4
[INFO] [stderr]    Compiling mqtt311 v0.2.0
[INFO] [stderr]    Compiling jsonwebtoken v6.0.1
[INFO] [stderr]    Compiling rumqtt v0.31.0
[INFO] [stderr]    Compiling aws-iot-device-sdk-rust v0.0.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "bab21748ceb32df983cb06a437b42cc519f05e09d0ae776bc142c6f5f0677e0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bab21748ceb32df983cb06a437b42cc519f05e09d0ae776bc142c6f5f0677e0f", kill_on_drop: false }`
[INFO] [stdout] bab21748ceb32df983cb06a437b42cc519f05e09d0ae776bc142c6f5f0677e0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", 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] c07ba67b08eba3f8c522a12a0fd14ef7be7a450aa9fa98415c16ff55455d14bf
[INFO] running `Command { std: "docker" "start" "-a" "c07ba67b08eba3f8c522a12a0fd14ef7be7a450aa9fa98415c16ff55455d14bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling aws-iot-device-sdk-rust v0.0.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "c07ba67b08eba3f8c522a12a0fd14ef7be7a450aa9fa98415c16ff55455d14bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c07ba67b08eba3f8c522a12a0fd14ef7be7a450aa9fa98415c16ff55455d14bf", kill_on_drop: false }`
[INFO] [stdout] c07ba67b08eba3f8c522a12a0fd14ef7be7a450aa9fa98415c16ff55455d14bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8fa5cda0339a5bd25ac94a84e41e8444c5c6049c9419bbb79e5a1e703cd23342
[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" "8fa5cda0339a5bd25ac94a84e41e8444c5c6049c9419bbb79e5a1e703cd23342", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/aws_iot_device_sdk_rust-0e094ac105a559a8)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests aws-iot-device-sdk-rust
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 58) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 36) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 16) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 36) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:52:34
[INFO] [stdout]    |
[INFO] [stdout] 18 |     iot_core_client.add_callback("thing/light/status", my_callback).unwrap();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  expected struct `String`, found `&str`
[INFO] [stdout]    |                                  help: try using a conversion method: `"thing/light/status".to_string()`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:52:56
[INFO] [stdout]    |
[INFO] [stdout] 18 |     iot_core_client.add_callback("thing/light/status", my_callback).unwrap();
[INFO] [stdout]    |                                                        ^^^^^^^^^^^ incorrect number of function parameters
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(String)`
[INFO] [stdout]                  found fn item `fn() {my_callback}`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 16) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS`
[INFO] [stdout]   --> src/lib.rs:29:53
[INFO] [stdout]    |
[INFO] [stdout] 15 |     iot_core_client.subscribe("thing/light/status", QoS::AtLeastOnce);
[INFO] [stdout]    |                                                     ^^^ use of undeclared type `QoS`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 15 |     iot_core_client.subscribe("thing/light/status", QoS::AtLeastOnce);
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               expected struct `String`, found `&str`
[INFO] [stdout]    |                               help: try using a conversion method: `"thing/light/status".to_string()`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     iot_core_client.publish("thing/light/status", "on");
[INFO] [stdout]    |                     ^^^^^^^ --------------------  ---- supplied 2 arguments
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/client.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn publish (&mut self, topic_name: String, qos: QoS, payload: &str) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 16)
[INFO] [stdout]     src/lib.rs - (line 36)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "8fa5cda0339a5bd25ac94a84e41e8444c5c6049c9419bbb79e5a1e703cd23342", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fa5cda0339a5bd25ac94a84e41e8444c5c6049c9419bbb79e5a1e703cd23342", kill_on_drop: false }`
[INFO] [stdout] 8fa5cda0339a5bd25ac94a84e41e8444c5c6049c9419bbb79e5a1e703cd23342
