[INFO] fetching crate dcp-rs 0.0.1... [INFO] checking dcp-rs-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dcp-rs 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate dcp-rs 0.0.1 [INFO] finished tweaking crates.io crate dcp-rs 0.0.1 [INFO] tweaked toml for crates.io crate dcp-rs 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dcp-rs 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dcp-rs 0.0.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded testcontainers v0.15.0 [INFO] [stderr] Downloaded env_logger v0.10.1 [INFO] [stderr] Downloaded bollard-stubs v1.42.0-rc.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47a68450cd004244fd8fb83ed9cf17a3327e3bbd5865e74fa5be1df084654eac [INFO] running `Command { std: "docker" "start" "-a" "47a68450cd004244fd8fb83ed9cf17a3327e3bbd5865e74fa5be1df084654eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47a68450cd004244fd8fb83ed9cf17a3327e3bbd5865e74fa5be1df084654eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a68450cd004244fd8fb83ed9cf17a3327e3bbd5865e74fa5be1df084654eac", kill_on_drop: false }` [INFO] [stdout] 47a68450cd004244fd8fb83ed9cf17a3327e3bbd5865e74fa5be1df084654eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4261589c33386db5a3f9165d2120e23313232efc65d8aa43777bfced90f881e2 [INFO] running `Command { std: "docker" "start" "-a" "4261589c33386db5a3f9165d2120e23313232efc65d8aa43777bfced90f881e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking dcp-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/couchbase.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(client: &Client) -> Couchbase { [INFO] [stdout] | ^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(client: &Client) -> Couchbase<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking bollard-stubs v1.42.0-rc.3 [INFO] [stderr] Checking testcontainers v0.15.0 [INFO] [stdout] warning: unused import: `ListenerCallback` [INFO] [stdout] --> examples/dcp.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use dcp_rs::{Config, Dcp, DcpConfig, GroupConfig, ListenerCallback}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/dcp.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | dcp.add_listener(listener); [INFO] [stdout] | ^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a> fn(&'a dcp_rs::dcp_io::packet::Packet) -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(&dcp_rs::dcp_io::packet::Packet) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dcp-rs` (example "dcp") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/couchbase.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(client: &Client) -> Couchbase { [INFO] [stdout] | ^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(client: &Client) -> Couchbase<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4261589c33386db5a3f9165d2120e23313232efc65d8aa43777bfced90f881e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4261589c33386db5a3f9165d2120e23313232efc65d8aa43777bfced90f881e2", kill_on_drop: false }` [INFO] [stdout] 4261589c33386db5a3f9165d2120e23313232efc65d8aa43777bfced90f881e2