[INFO] fetching crate safe-box 0.2.0... [INFO] testing safe-box-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate safe-box 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate safe-box 0.2.0 [INFO] finished tweaking crates.io crate safe-box 0.2.0 [INFO] tweaked toml for crates.io crate safe-box 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate safe-box 0.2.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 safe-box 0.2.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 cpufeatures v0.2.12 [INFO] [stderr] Downloaded async-mutex v1.4.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.11 [INFO] [stderr] Downloaded subtle v2.5.0 [INFO] [stderr] Downloaded rust-argon2 v2.1.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.1 [INFO] [stderr] Downloaded getrandom v0.3.2 [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.1 [INFO] [stderr] Downloaded der v0.7.9 [INFO] [stderr] Downloaded sqlx-postgres v0.8.1 [INFO] [stderr] Downloaded sqlx-core v0.8.1 [INFO] [stderr] Downloaded serde_json v1.0.127 [INFO] [stderr] Downloaded syn v2.0.100 [INFO] [stderr] Downloaded sqlx v0.8.1 [INFO] [stderr] Downloaded rsa v0.9.6 [INFO] [stderr] Downloaded flume v0.11.0 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded libc v0.2.158 [INFO] [stderr] Downloaded indexmap v2.5.0 [INFO] [stderr] Downloaded event-listener v5.3.1 [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded rustix v0.38.35 [INFO] [stderr] Downloaded serde_derive v1.0.209 [INFO] [stderr] Downloaded blake2b_simd v1.0.3 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.1 [INFO] [stderr] Downloaded serde v1.0.209 [INFO] [stderr] Downloaded unicode-properties v0.1.2 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.94 [INFO] [stderr] Downloaded base64ct v1.6.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.20 [INFO] [stderr] Downloaded parking v2.2.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.1 [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded redox_syscall v0.5.3 [INFO] [stderr] Downloaded hashlink v0.9.1 [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 080faf8e7a5f76d4c27c4cdfe9b88c56fdff16fa6381a6400dfd52e6cab72c2c [INFO] running `Command { std: "docker" "start" "-a" "080faf8e7a5f76d4c27c4cdfe9b88c56fdff16fa6381a6400dfd52e6cab72c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "080faf8e7a5f76d4c27c4cdfe9b88c56fdff16fa6381a6400dfd52e6cab72c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080faf8e7a5f76d4c27c4cdfe9b88c56fdff16fa6381a6400dfd52e6cab72c2c", kill_on_drop: false }` [INFO] [stdout] 080faf8e7a5f76d4c27c4cdfe9b88c56fdff16fa6381a6400dfd52e6cab72c2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 79feaf87b08feb80fda9e451502b66e7cc49b8040e344ac7bab9781f8bee60b8 [INFO] running `Command { std: "docker" "start" "-a" "79feaf87b08feb80fda9e451502b66e7cc49b8040e344ac7bab9781f8bee60b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rust-argon2 v2.1.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.8.1 [INFO] [stderr] Compiling sqlx-sqlite v0.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.1 [INFO] [stderr] Compiling sqlx v0.8.1 [INFO] [stderr] Compiling safe-box v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.85s [INFO] running `Command { std: "docker" "inspect" "79feaf87b08feb80fda9e451502b66e7cc49b8040e344ac7bab9781f8bee60b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79feaf87b08feb80fda9e451502b66e7cc49b8040e344ac7bab9781f8bee60b8", kill_on_drop: false }` [INFO] [stdout] 79feaf87b08feb80fda9e451502b66e7cc49b8040e344ac7bab9781f8bee60b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ca528b8869a533557541b9cdc2fc82f23ba8c19a7145de72cebe6794aeec727b [INFO] running `Command { std: "docker" "start" "-a" "ca528b8869a533557541b9cdc2fc82f23ba8c19a7145de72cebe6794aeec727b", kill_on_drop: false }` [INFO] [stderr] Compiling safe-box v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "ca528b8869a533557541b9cdc2fc82f23ba8c19a7145de72cebe6794aeec727b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca528b8869a533557541b9cdc2fc82f23ba8c19a7145de72cebe6794aeec727b", kill_on_drop: false }` [INFO] [stdout] ca528b8869a533557541b9cdc2fc82f23ba8c19a7145de72cebe6794aeec727b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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", kill_on_drop: false }` [INFO] [stdout] 6dce70e9eef38b8381dfe899160a4437dcdbae511aa7f9e7d52986f0262c8c1b [INFO] running `Command { std: "docker" "start" "-a" "6dce70e9eef38b8381dfe899160a4437dcdbae511aa7f9e7d52986f0262c8c1b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/safe_box-34153e5bd928df5f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests safe_box [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - SafeBox::new (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SafeBox::new (line 36) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 37 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 40 | let safe = SafeBox::new("secure.db").await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - SafeBox::new (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6dce70e9eef38b8381dfe899160a4437dcdbae511aa7f9e7d52986f0262c8c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dce70e9eef38b8381dfe899160a4437dcdbae511aa7f9e7d52986f0262c8c1b", kill_on_drop: false }` [INFO] [stdout] 6dce70e9eef38b8381dfe899160a4437dcdbae511aa7f9e7d52986f0262c8c1b