[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparduhn%2Frs-mq-examples" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parduhn/rs-mq-examples on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded built v0.5.1 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded input_buffer v0.5.0 [INFO] [stderr] Downloaded amiquip v0.4.2 [INFO] [stderr] Downloaded amq-protocol-codegen v1.4.0 [INFO] [stderr] Downloaded cpufeatures v0.2.3 [INFO] [stderr] Downloaded pest_meta v2.3.0 [INFO] [stderr] Downloaded pest_generator v2.3.0 [INFO] [stderr] Downloaded pest_derive v2.3.0 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] [stderr] Downloaded cargo-lock v7.1.0 [INFO] [stderr] Downloaded amq-protocol-types v1.2.0 [INFO] [stderr] Downloaded amq-protocol v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06e63a0a65cfab51e511660065fed91a2380065dc17daceb1010279cbef319e2 [INFO] running `Command { std: "docker" "start" "-a" "06e63a0a65cfab51e511660065fed91a2380065dc17daceb1010279cbef319e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06e63a0a65cfab51e511660065fed91a2380065dc17daceb1010279cbef319e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e63a0a65cfab51e511660065fed91a2380065dc17daceb1010279cbef319e2", kill_on_drop: false }` [INFO] [stdout] 06e63a0a65cfab51e511660065fed91a2380065dc17daceb1010279cbef319e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e256a297474b1ee33b83a904d9bb65039702f6244099c4a6d2507bf51d1578 [INFO] running `Command { std: "docker" "start" "-a" "40e256a297474b1ee33b83a904d9bb65039702f6244099c4a6d2507bf51d1578", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [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 serde_json v1.0.83 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling nom v4.2.3 [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 ryu v1.0.11 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling regex v1.6.0 [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 mio v0.6.23 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking input_buffer v0.5.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking regex v0.1.80 [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] Checking env_logger v0.3.5 [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] Checking handlebars v1.1.0 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Compiling toml v0.5.9 [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 `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: 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: 9 warnings emitted [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] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [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 3` [INFO] running `Command { std: "docker" "inspect" "40e256a297474b1ee33b83a904d9bb65039702f6244099c4a6d2507bf51d1578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e256a297474b1ee33b83a904d9bb65039702f6244099c4a6d2507bf51d1578", kill_on_drop: false }` [INFO] [stdout] 40e256a297474b1ee33b83a904d9bb65039702f6244099c4a6d2507bf51d1578