[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] building N1ghtStorm/RabbitMQLoader against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN1ghtStorm%2FRabbitMQLoader" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/N1ghtStorm/RabbitMQLoader on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "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-6/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" "+222c5724ecc922fe67815f428c19f82c129d9386" "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 hashbrown v0.9.0 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] [stderr] Downloaded cc v1.0.59 [INFO] [stderr] Downloaded git2 v0.10.2 [INFO] [stderr] Downloaded amq-protocol-types v1.2.0 [INFO] [stderr] Downloaded amq-protocol v1.4.0 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.2 [INFO] [stderr] Downloaded snafu-derive v0.4.4 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded amiquip v0.3.3 [INFO] [stderr] Downloaded input_buffer v0.2.0 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] [stderr] Downloaded amq-protocol-codegen v1.4.0 [INFO] [stderr] Downloaded snafu v0.4.4 [INFO] [stderr] Downloaded built v0.3.2 [INFO] [stderr] Downloaded libz-sys v1.1.2 [INFO] [stderr] Downloaded libgit2-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 371251dfc066a9e5996216dca63cb58c76b3319de0f7b58a24cf2f78032c0362 [INFO] running `Command { std: "docker" "start" "-a" "371251dfc066a9e5996216dca63cb58c76b3319de0f7b58a24cf2f78032c0362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "371251dfc066a9e5996216dca63cb58c76b3319de0f7b58a24cf2f78032c0362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371251dfc066a9e5996216dca63cb58c76b3319de0f7b58a24cf2f78032c0362", kill_on_drop: false }` [INFO] [stdout] 371251dfc066a9e5996216dca63cb58c76b3319de0f7b58a24cf2f78032c0362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9fd2cd6f920f409e4ab7421fbcd7c64d4abd727e32ef4a80fecb3bdc10d41f5 [INFO] running `Command { std: "docker" "start" "-a" "a9fd2cd6f920f409e4ab7421fbcd7c64d4abd727e32ef4a80fecb3bdc10d41f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [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 quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [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] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling snafu v0.4.4 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling built v0.3.2 [INFO] [stderr] Compiling amiquip v0.3.3 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling RabbitMQLOader v0.1.0 (/opt/rustwide/workdir) [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut connection_string = &format!("amqp://{}:{}@{}:5672", user, pass, host) as &str; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut vector: Vec = vec![0; message_size]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "a9fd2cd6f920f409e4ab7421fbcd7c64d4abd727e32ef4a80fecb3bdc10d41f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9fd2cd6f920f409e4ab7421fbcd7c64d4abd727e32ef4a80fecb3bdc10d41f5", kill_on_drop: false }` [INFO] [stdout] a9fd2cd6f920f409e4ab7421fbcd7c64d4abd727e32ef4a80fecb3bdc10d41f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9d2c9e9fbb0ff1dde64f4e63db85ce95ef3018524ec69184b09d106d59f4a13 [INFO] running `Command { std: "docker" "start" "-a" "e9d2c9e9fbb0ff1dde64f4e63db85ce95ef3018524ec69184b09d106d59f4a13", kill_on_drop: false }` [INFO] [stderr] Compiling RabbitMQLOader v0.1.0 (/opt/rustwide/workdir) [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut connection_string = &format!("amqp://{}:{}@{}:5672", user, pass, host) as &str; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut vector: Vec = vec![0; message_size]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.91s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/RabbitMQLOader-0396541d31aa161e) [INFO] running `Command { std: "docker" "inspect" "e9d2c9e9fbb0ff1dde64f4e63db85ce95ef3018524ec69184b09d106d59f4a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d2c9e9fbb0ff1dde64f4e63db85ce95ef3018524ec69184b09d106d59f4a13", kill_on_drop: false }` [INFO] [stdout] e9d2c9e9fbb0ff1dde64f4e63db85ce95ef3018524ec69184b09d106d59f4a13