[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 master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN1ghtStorm%2FRabbitMQLoader" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/N1ghtStorm/RabbitMQLoader on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-3/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6d25c27b1a65bee036bbde77cd5e181cb14885e84d3c877fb940a4b3b7a3279 [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" "f6d25c27b1a65bee036bbde77cd5e181cb14885e84d3c877fb940a4b3b7a3279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6d25c27b1a65bee036bbde77cd5e181cb14885e84d3c877fb940a4b3b7a3279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d25c27b1a65bee036bbde77cd5e181cb14885e84d3c877fb940a4b3b7a3279", kill_on_drop: false }` [INFO] [stdout] f6d25c27b1a65bee036bbde77cd5e181cb14885e84d3c877fb940a4b3b7a3279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea3c8a853e35949539d3a6b664f4ecbe5d3175fb4d18f321e781956f8a2b2ed7 [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" "ea3c8a853e35949539d3a6b664f4ecbe5d3175fb4d18f321e781956f8a2b2ed7", kill_on_drop: false }` [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 autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.6 [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 syn v0.15.44 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking object v0.20.0 [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 thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [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] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking amq-protocol-types v1.2.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 (/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: 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] [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 3m 11s [INFO] running `Command { std: "docker" "inspect" "ea3c8a853e35949539d3a6b664f4ecbe5d3175fb4d18f321e781956f8a2b2ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea3c8a853e35949539d3a6b664f4ecbe5d3175fb4d18f321e781956f8a2b2ed7", kill_on_drop: false }` [INFO] [stdout] ea3c8a853e35949539d3a6b664f4ecbe5d3175fb4d18f321e781956f8a2b2ed7