[INFO] fetching crate fcdb-concur 0.1.0... [INFO] testing fcdb-concur-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate fcdb-concur 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fcdb-concur 0.1.0 [INFO] finished tweaking crates.io crate fcdb-concur 0.1.0 [INFO] tweaked toml for crates.io crate fcdb-concur 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fcdb-concur 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fcdb-concur 0.1.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fcdb-core v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b347a98a62edf0a689997c266735c000dbdd1adb0f0660729a6e214e1edb646 [INFO] running `Command { std: "docker" "start" "-a" "6b347a98a62edf0a689997c266735c000dbdd1adb0f0660729a6e214e1edb646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b347a98a62edf0a689997c266735c000dbdd1adb0f0660729a6e214e1edb646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b347a98a62edf0a689997c266735c000dbdd1adb0f0660729a6e214e1edb646", kill_on_drop: false }` [INFO] [stdout] 6b347a98a62edf0a689997c266735c000dbdd1adb0f0660729a6e214e1edb646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b3f0c9b891ca6923f25ba3bab1d4e064993a6f11ae973a76fe4dbe329307fb7 [INFO] running `Command { std: "docker" "start" "-a" "5b3f0c9b891ca6923f25ba3bab1d4e064993a6f11ae973a76fe4dbe329307fb7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling fcdb-core v0.1.1 [INFO] [stderr] Compiling fcdb-concur v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap_cid` [INFO] [stdout] --> src/lib.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | let cap_cid = borrowed.read().await; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cap_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/lib.rs:402:43 [INFO] [stdout] | [INFO] [stdout] 402 | pub async fn abort_transaction(&self, txn: Transaction) -> Result<(), ConcurError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 191 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lease_manager` is never read [INFO] [stdout] --> src/lib.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct ResourceManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 331 | resources: Arc>>>>, [INFO] [stdout] 332 | lease_manager: LeaseManager, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.55s [INFO] running `Command { std: "docker" "inspect" "5b3f0c9b891ca6923f25ba3bab1d4e064993a6f11ae973a76fe4dbe329307fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b3f0c9b891ca6923f25ba3bab1d4e064993a6f11ae973a76fe4dbe329307fb7", kill_on_drop: false }` [INFO] [stdout] 5b3f0c9b891ca6923f25ba3bab1d4e064993a6f11ae973a76fe4dbe329307fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6849f5242af2d7785400ff11a377778f1e82bd36d830f75b4999663d16d265b9 [INFO] running `Command { std: "docker" "start" "-a" "6849f5242af2d7785400ff11a377778f1e82bd36d830f75b4999663d16d265b9", kill_on_drop: false }` [INFO] [stderr] Compiling fcdb-concur v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap_cid` [INFO] [stdout] --> src/lib.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | let cap_cid = borrowed.read().await; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cap_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/lib.rs:402:43 [INFO] [stdout] | [INFO] [stdout] 402 | pub async fn abort_transaction(&self, txn: Transaction) -> Result<(), ConcurError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 191 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lease_manager` is never read [INFO] [stdout] --> src/lib.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct ResourceManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 331 | resources: Arc>>>>, [INFO] [stdout] 332 | lease_manager: LeaseManager, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:555:14 [INFO] [stdout] | [INFO] [stdout] 555 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:584:14 [INFO] [stdout] | [INFO] [stdout] 584 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:598:14 [INFO] [stdout] | [INFO] [stdout] 598 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:620:14 [INFO] [stdout] | [INFO] [stdout] 620 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:650:14 [INFO] [stdout] | [INFO] [stdout] 650 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_le_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/lib.rs:588:35 [INFO] [stdout] | [INFO] [stdout] 588 | let cid = Cid::hash(&data.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 586 | let data: i32 = 42; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap_cid` [INFO] [stdout] --> src/lib.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | let cap_cid = borrowed.read().await; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cap_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/lib.rs:402:43 [INFO] [stdout] | [INFO] [stdout] 402 | pub async fn abort_transaction(&self, txn: Transaction) -> Result<(), ConcurError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fcdb-concur` (lib test) due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6849f5242af2d7785400ff11a377778f1e82bd36d830f75b4999663d16d265b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6849f5242af2d7785400ff11a377778f1e82bd36d830f75b4999663d16d265b9", kill_on_drop: false }` [INFO] [stdout] 6849f5242af2d7785400ff11a377778f1e82bd36d830f75b4999663d16d265b9