[INFO] cloning repository https://github.com/parduhn/rs-mq-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parduhn/rs-mq-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparduhn%2Frs-mq-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparduhn%2Frs-mq-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fee680f2593d1c33c686bccae28e4b6d2930134 [INFO] checking parduhn/rs-mq-examples against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparduhn%2Frs-mq-examples" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parduhn/rs-mq-examples on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/parduhn/rs-mq-examples [INFO] finished tweaking git repo https://github.com/parduhn/rs-mq-examples [INFO] tweaked toml for git repo https://github.com/parduhn/rs-mq-examples written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/parduhn/rs-mq-examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.3.0 [INFO] [stderr] Downloaded cargo-lock v7.1.0 [INFO] [stderr] Downloaded pest_meta v2.3.0 [INFO] [stderr] Downloaded pest_derive v2.3.0 [INFO] [stderr] Downloaded built v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17d4faa6774bd1b7cfc11af2f1ee910ac272589da8b64e7a374c0eb529d32872 [INFO] running `Command { std: "docker" "start" "-a" "17d4faa6774bd1b7cfc11af2f1ee910ac272589da8b64e7a374c0eb529d32872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17d4faa6774bd1b7cfc11af2f1ee910ac272589da8b64e7a374c0eb529d32872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d4faa6774bd1b7cfc11af2f1ee910ac272589da8b64e7a374c0eb529d32872", kill_on_drop: false }` [INFO] [stdout] 17d4faa6774bd1b7cfc11af2f1ee910ac272589da8b64e7a374c0eb529d32872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 168db91dee6caf5c2fc9de3d6fd6be65b7b69cd29f8628a4564387d2e32bde91 [INFO] running `Command { std: "docker" "start" "-a" "168db91dee6caf5c2fc9de3d6fd6be65b7b69cd29f8628a4564387d2e32bde91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking input_buffer v0.5.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling snafu-derive v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling pest v2.3.0 [INFO] [stderr] Checking snafu v0.7.1 [INFO] [stderr] Compiling pest_meta v2.3.0 [INFO] [stderr] Compiling pest_generator v2.3.0 [INFO] [stderr] Compiling pest_derive v2.3.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling cargo-lock v7.1.0 [INFO] [stderr] Compiling built v0.5.1 [INFO] [stderr] Compiling amiquip v0.4.2 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking rs-mq-topic-consume v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let receiver = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECT_STR` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CONNECT_STR: &str = "amqp://docker:docker@localhost:5672"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_messages_with_confirmation` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn publish_messages_with_confirmation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_connection` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn use_connection(connection: &mut Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn start() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | example::rpc_function::start(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = example::rpc_function::start(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | example::rpc_call::start(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = example::rpc_call::start(10); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | example::rpc_call::start(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = example::rpc_call::start(20); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let receiver = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/example/rpc_function.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = env_logger::init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECT_STR` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CONNECT_STR: &str = "amqp://docker:docker@localhost:5672"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_messages_with_confirmation` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn publish_messages_with_confirmation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_connection` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn use_connection(connection: &mut Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/example/publischer_confirm.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn start() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | example::rpc_function::start(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = example::rpc_function::start(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | example::rpc_call::start(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = example::rpc_call::start(10); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | example::rpc_call::start(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = example::rpc_call::start(20); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/example/rpc_function.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = env_logger::init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "168db91dee6caf5c2fc9de3d6fd6be65b7b69cd29f8628a4564387d2e32bde91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168db91dee6caf5c2fc9de3d6fd6be65b7b69cd29f8628a4564387d2e32bde91", kill_on_drop: false }` [INFO] [stdout] 168db91dee6caf5c2fc9de3d6fd6be65b7b69cd29f8628a4564387d2e32bde91