[INFO] cloning repository https://github.com/Modulus/rust-rabbitmq-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Modulus/rust-rabbitmq-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Frust-rabbitmq-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Frust-rabbitmq-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e25bd703ac0d44656221d7f1702ecd0a2ee4f9ac [INFO] checking Modulus/rust-rabbitmq-demo against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Frust-rabbitmq-demo" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Modulus/rust-rabbitmq-demo on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Modulus/rust-rabbitmq-demo [INFO] finished tweaking git repo https://github.com/Modulus/rust-rabbitmq-demo [INFO] tweaked toml for git repo https://github.com/Modulus/rust-rabbitmq-demo written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Modulus/rust-rabbitmq-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-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" "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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 82e591e186a5dda8b8f6c25048005563d315241e5cab80d4955f5add4a887aae [INFO] running `Command { std: "docker" "start" "-a" "82e591e186a5dda8b8f6c25048005563d315241e5cab80d4955f5add4a887aae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82e591e186a5dda8b8f6c25048005563d315241e5cab80d4955f5add4a887aae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e591e186a5dda8b8f6c25048005563d315241e5cab80d4955f5add4a887aae", kill_on_drop: false }` [INFO] [stdout] 82e591e186a5dda8b8f6c25048005563d315241e5cab80d4955f5add4a887aae [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de2cb097d5208c2d7288d6489edeeb945e2ce2749b41ba50ce370c0b1dd9aff5 [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" "de2cb097d5208c2d7288d6489edeeb945e2ce2749b41ba50ce370c0b1dd9aff5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.36 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling snafu-derive v0.6.9 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking snafu v0.6.9 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Compiling cargo-lock v4.0.1 [INFO] [stderr] Checking amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling built v0.4.4 [INFO] [stderr] Compiling amiquip v0.4.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.9 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking rust-rabbitmq-demo v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/send.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 41 | / loop { [INFO] [stdout] 42 | | // Open connection. [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | let mut connection = Connection::insecure_open(&rabbitmq_url)?; [INFO] [stdout] ... | [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 69 | [INFO] [stdout] 70 | println!("Done!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/send.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 41 | / loop { [INFO] [stdout] 42 | | // Open connection. [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | let mut connection = Connection::insecure_open(&rabbitmq_url)?; [INFO] [stdout] ... | [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 69 | [INFO] [stdout] 70 | println!("Done!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/send.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | connection.close(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/bin/quotes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/quotes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/quotes.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | async fn get_quote() -> Result <(Data), Box> { //HashMap [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/bin/quotes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((response)) [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/send.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | connection.close(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/bin/quotes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/quotes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/quotes.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | async fn get_quote() -> Result <(Data), Box> { //HashMap [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/bin/quotes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((response)) [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 33s [INFO] running `Command { std: "docker" "inspect" "de2cb097d5208c2d7288d6489edeeb945e2ce2749b41ba50ce370c0b1dd9aff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2cb097d5208c2d7288d6489edeeb945e2ce2749b41ba50ce370c0b1dd9aff5", kill_on_drop: false }` [INFO] [stdout] de2cb097d5208c2d7288d6489edeeb945e2ce2749b41ba50ce370c0b1dd9aff5