[INFO] cloning repository https://github.com/CleverCloud/node-pulsar-rust-backed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CleverCloud/node-pulsar-rust-backed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCleverCloud%2Fnode-pulsar-rust-backed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCleverCloud%2Fnode-pulsar-rust-backed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3806e8efac704c9c9c33c8f38811c3cd274081e0 [INFO] checking CleverCloud/node-pulsar-rust-backed against try#77ee4623672f6bca3e33ba60b6479de48d44b1f9 for pr-99217 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCleverCloud%2Fnode-pulsar-rust-backed" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CleverCloud/node-pulsar-rust-backed on toolchain 77ee4623672f6bca3e33ba60b6479de48d44b1f9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/CleverCloud/node-pulsar-rust-backed [INFO] finished tweaking git repo https://github.com/CleverCloud/node-pulsar-rust-backed [INFO] tweaked toml for git repo https://github.com/CleverCloud/node-pulsar-rust-backed written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/CleverCloud/node-pulsar-rust-backed already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39619c218f77412266555f203860c1a2476838cb373dfa37a0ec3ac107d177a0 [INFO] running `Command { std: "docker" "start" "-a" "39619c218f77412266555f203860c1a2476838cb373dfa37a0ec3ac107d177a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39619c218f77412266555f203860c1a2476838cb373dfa37a0ec3ac107d177a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39619c218f77412266555f203860c1a2476838cb373dfa37a0ec3ac107d177a0", kill_on_drop: false }` [INFO] [stdout] 39619c218f77412266555f203860c1a2476838cb373dfa37a0ec3ac107d177a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 497a6fec4e76c015983d2dd6768b9e026001ccea318dfbd689f33dcc2d6a3637 [INFO] running `Command { std: "docker" "start" "-a" "497a6fec4e76c015983d2dd6768b9e026001ccea318dfbd689f33dcc2d6a3637", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling napi-build v1.2.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking napi-sys v2.1.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Compiling pulsar-node-rust-client v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling napi-derive-backend v1.0.23 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling napi-derive v2.0.7 [INFO] [stderr] Checking lz4 v1.23.2 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-process v1.3.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking async-std v1.10.0 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Compiling pulsar v4.1.1 [INFO] [stderr] Checking napi v2.0.3 [INFO] [stderr] Checking zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stdout] warning: unused import: `crate::MessageState::ACK` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::MessageState::ACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pulsar::error::ConsumerError` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use pulsar::error::ConsumerError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pulsar::message::Message` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use pulsar::message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::MessageState::ACK` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::MessageState::ACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pulsar::error::ConsumerError` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use pulsar::error::ConsumerError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pulsar::message::Message` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use pulsar::message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | let answer = match state { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let mut consumer: Consumer = pulsar_arc [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: unused variable: `answer` [INFO] [stdout] --> src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | let answer = match state { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RUNTIME` is never used [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static RUNTIME: Lazy = Lazy::new(|| Runtime::new().unwrap()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/lib.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn sum(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pulsar` is never used [INFO] [stdout] --> src/lib.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn create_pulsar( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pulsar_producer` is never used [INFO] [stdout] --> src/lib.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn create_pulsar_producer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_pulsar_message` is never used [INFO] [stdout] --> src/lib.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn send_pulsar_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_pulsar_consumer` is never used [INFO] [stdout] --> src/lib.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn start_pulsar_consumer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_pulsar_message_status` is never used [INFO] [stdout] --> src/lib.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn send_pulsar_message_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let mut consumer: Consumer = pulsar_arc [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "497a6fec4e76c015983d2dd6768b9e026001ccea318dfbd689f33dcc2d6a3637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497a6fec4e76c015983d2dd6768b9e026001ccea318dfbd689f33dcc2d6a3637", kill_on_drop: false }` [INFO] [stdout] 497a6fec4e76c015983d2dd6768b9e026001ccea318dfbd689f33dcc2d6a3637