[INFO] cloning repository https://github.com/N1ghtStorm/RabbitMQLoader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/N1ghtStorm/RabbitMQLoader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN1ghtStorm%2FRabbitMQLoader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN1ghtStorm%2FRabbitMQLoader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efd5449b670fb68ccba5ea0d6b059f3ba8382e19 [INFO] checking N1ghtStorm/RabbitMQLoader against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN1ghtStorm%2FRabbitMQLoader" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/N1ghtStorm/RabbitMQLoader on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/N1ghtStorm/RabbitMQLoader [INFO] finished tweaking git repo https://github.com/N1ghtStorm/RabbitMQLoader [INFO] tweaked toml for git repo https://github.com/N1ghtStorm/RabbitMQLoader written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/N1ghtStorm/RabbitMQLoader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded amq-protocol-types v1.2.0 [INFO] [stderr] Downloaded snafu-derive v0.4.4 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded built v0.3.2 [INFO] [stderr] Downloaded git2 v0.10.2 [INFO] [stderr] Downloaded snafu v0.4.4 [INFO] [stderr] Downloaded amiquip v0.3.3 [INFO] [stderr] Downloaded amq-protocol-codegen v1.4.0 [INFO] [stderr] Downloaded libgit2-sys v0.9.2 [INFO] [stderr] Downloaded amq-protocol v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91403e3e0abdc32f8522775514ca2df25bb027499cee865b0fa9fd3e060ed08c [INFO] running `Command { std: "docker" "start" "-a" "91403e3e0abdc32f8522775514ca2df25bb027499cee865b0fa9fd3e060ed08c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91403e3e0abdc32f8522775514ca2df25bb027499cee865b0fa9fd3e060ed08c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91403e3e0abdc32f8522775514ca2df25bb027499cee865b0fa9fd3e060ed08c", kill_on_drop: false }` [INFO] [stdout] 91403e3e0abdc32f8522775514ca2df25bb027499cee865b0fa9fd3e060ed08c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94391f39f247b1d3f69c00dbdf014b77c9aae15dc0820ead325e83edb46cb11a [INFO] running `Command { std: "docker" "start" "-a" "94391f39f247b1d3f69c00dbdf014b77c9aae15dc0820ead325e83edb46cb11a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] byteorder v1.3.4 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking hashbrown v0.9.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Compiling built v0.3.2 [INFO] [stderr] Compiling amiquip v0.3.3 [INFO] [stderr] Checking amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking RabbitMQLOader v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | exchange.publish(Publish::new(&message[0..message.len() - 1], queue_name))?; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 68 | [INFO] [stdout] 69 | connection.close() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RabbitMQLOader` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rabbit_mqloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goRabbit` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn goRabbit(host: &str, user: &str, pass: &str, queue_name: &str, message_len: usize, publisher_confirms: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `go_rabbit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | channel.enable_publisher_confirms(); [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: function `getMessage` should have a snake case name [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn getMessage(message_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | exchange.publish(Publish::new(&message[0..message.len() - 1], queue_name))?; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 68 | [INFO] [stdout] 69 | connection.close() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RabbitMQLOader` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rabbit_mqloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goRabbit` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn goRabbit(host: &str, user: &str, pass: &str, queue_name: &str, message_len: usize, publisher_confirms: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `go_rabbit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | channel.enable_publisher_confirms(); [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: function `getMessage` should have a snake case name [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn getMessage(message_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking RabbitMQLOader v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | exchange.publish(Publish::new(&message[0..message.len() - 1], queue_name))?; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 68 | [INFO] [stdout] 69 | connection.close() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RabbitMQLOader` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rabbit_mqloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goRabbit` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn goRabbit(host: &str, user: &str, pass: &str, queue_name: &str, message_len: usize, publisher_confirms: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `go_rabbit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | channel.enable_publisher_confirms(); [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: function `getMessage` should have a snake case name [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn getMessage(message_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | exchange.publish(Publish::new(&message[0..message.len() - 1], queue_name))?; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 68 | [INFO] [stdout] 69 | connection.close() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RabbitMQLOader` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rabbit_mqloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goRabbit` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn goRabbit(host: &str, user: &str, pass: &str, queue_name: &str, message_len: usize, publisher_confirms: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `go_rabbit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | channel.enable_publisher_confirms(); [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: function `getMessage` should have a snake case name [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn getMessage(message_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "94391f39f247b1d3f69c00dbdf014b77c9aae15dc0820ead325e83edb46cb11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94391f39f247b1d3f69c00dbdf014b77c9aae15dc0820ead325e83edb46cb11a", kill_on_drop: false }` [INFO] [stdout] 94391f39f247b1d3f69c00dbdf014b77c9aae15dc0820ead325e83edb46cb11a