[INFO] fetching crate mongocrypt 0.2.1... [INFO] testing mongocrypt-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mongocrypt 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mongocrypt 0.2.1 [INFO] finished tweaking crates.io crate mongocrypt 0.2.1 [INFO] tweaked toml for crates.io crate mongocrypt 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mongocrypt 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding bson v2.15.0 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03d58af1b8df98efeb2be6eed0fd8ead11b0f11cf8d6bba23bbe035527ca82d5 [INFO] running `Command { std: "docker" "start" "-a" "03d58af1b8df98efeb2be6eed0fd8ead11b0f11cf8d6bba23bbe035527ca82d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03d58af1b8df98efeb2be6eed0fd8ead11b0f11cf8d6bba23bbe035527ca82d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03d58af1b8df98efeb2be6eed0fd8ead11b0f11cf8d6bba23bbe035527ca82d5", kill_on_drop: false }` [INFO] [stdout] 03d58af1b8df98efeb2be6eed0fd8ead11b0f11cf8d6bba23bbe035527ca82d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15c25f66c18b5babe2d300789111fa5910e60eadf226ff126f6015b1b2d086cc [INFO] running `Command { std: "docker" "start" "-a" "15c25f66c18b5babe2d300789111fa5910e60eadf226ff126f6015b1b2d086cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling mongocrypt-sys v0.1.4+1.12.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling mongocrypt v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:520:22 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn kms_scope(&mut self) -> KmsScope { [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] 520 | pub fn kms_scope(&mut self) -> KmsScope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn next_kms_ctx(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 638 | pub fn next_kms_ctx(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.72s [INFO] running `Command { std: "docker" "inspect" "15c25f66c18b5babe2d300789111fa5910e60eadf226ff126f6015b1b2d086cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c25f66c18b5babe2d300789111fa5910e60eadf226ff126f6015b1b2d086cc", kill_on_drop: false }` [INFO] [stdout] 15c25f66c18b5babe2d300789111fa5910e60eadf226ff126f6015b1b2d086cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d4f3056a16b559f771b2cef41c1054f313996f30768c7f6ae919a4136e07da0 [INFO] running `Command { std: "docker" "start" "-a" "4d4f3056a16b559f771b2cef41c1054f313996f30768c7f6ae919a4136e07da0", kill_on_drop: false }` [INFO] [stderr] Compiling mongocrypt v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:520:22 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn kms_scope(&mut self) -> KmsScope { [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] 520 | pub fn kms_scope(&mut self) -> KmsScope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn next_kms_ctx(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 638 | pub fn next_kms_ctx(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:520:22 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn kms_scope(&mut self) -> KmsScope { [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] 520 | pub fn kms_scope(&mut self) -> KmsScope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn next_kms_ctx(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 638 | pub fn next_kms_ctx(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcEDIzu6/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libmongocrypt_sys-2bedebec4f3aeb8a,libbson-259b76081aed3f3a,libuuid-112666fa34dbdefd,librand-90a4042ea0e50e59,librand_chacha-aac073526e631b72,libppv_lite86-d40de8daa0db893c,librand_core-25f6ed48857af850,libhex-28742b4ca144387c,libahash-6edadceae404a28a,libgetrandom-2e1dc431ca6fc0c6,liblibc-25276162e0b026ba,libonce_cell-0ba6aecba7086d38,libcfg_if-666d36e5ee0df220,libzerocopy-70610920d7f7fd24,libbitvec-4d9abde62f1c4da4,libwyz-08b81de43180c23e,libtap-a03b11bfa148d0b2,libradium-a5583fb516fb7633,libfunty-e395759ffae18036,libserde_bytes-44d5f7feb8795945,libtime-c1684f74d9711dd8,libtime_core-7d052242ca7efb43,libnum_conv-2c976fbf8b8f2899,libderanged-26fd0c085241528f,libpowerfmt-a0c185df26c26a22,libserde_json-af51be965ebaa7b6,libmemchr-2d97b38eddd0133f,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libindexmap-91526e4d98e04eb5,libequivalent-7e0e8cbe6c474a67,libhashbrown-76659aeb83761b81,libserde-a065a6580b1c0a75,libbase64-2a03de3babadded3}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lmongocrypt" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcEDIzu6/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mongocrypt-fe7ea7d73d0e48c4" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lmongocrypt [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mongocrypt` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d4f3056a16b559f771b2cef41c1054f313996f30768c7f6ae919a4136e07da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4f3056a16b559f771b2cef41c1054f313996f30768c7f6ae919a4136e07da0", kill_on_drop: false }` [INFO] [stdout] 4d4f3056a16b559f771b2cef41c1054f313996f30768c7f6ae919a4136e07da0