[INFO] fetching crate divan 0.1.4... [INFO] checking divan-0.1.4 against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] extracting crate divan 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate divan 0.1.4 on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate divan 0.1.4 [INFO] finished tweaking crates.io crate divan 0.1.4 [INFO] tweaked toml for crates.io crate divan 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate divan 0.1.4 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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded condtype v1.3.0 [INFO] [stderr] Downloaded terminal_size v0.3.0 [INFO] [stderr] Downloaded divan-macros v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 700ba849b272176fe82e8d1a212ac5ea35610dd67e63ed2f6f0055e9f2dcfabd [INFO] running `Command { std: "docker" "start" "-a" "700ba849b272176fe82e8d1a212ac5ea35610dd67e63ed2f6f0055e9f2dcfabd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "700ba849b272176fe82e8d1a212ac5ea35610dd67e63ed2f6f0055e9f2dcfabd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700ba849b272176fe82e8d1a212ac5ea35610dd67e63ed2f6f0055e9f2dcfabd", kill_on_drop: false }` [INFO] [stdout] 700ba849b272176fe82e8d1a212ac5ea35610dd67e63ed2f6f0055e9f2dcfabd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78685c70953ddeafeb2bbad41f126df10a65712cca80cc725ef102c313bc760d [INFO] running `Command { std: "docker" "start" "-a" "78685c70953ddeafeb2bbad41f126df10a65712cca80cc725ef102c313bc760d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling divan-macros v0.1.4 [INFO] [stderr] Checking divan v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.11s [INFO] running `Command { std: "docker" "inspect" "78685c70953ddeafeb2bbad41f126df10a65712cca80cc725ef102c313bc760d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78685c70953ddeafeb2bbad41f126df10a65712cca80cc725ef102c313bc760d", kill_on_drop: false }` [INFO] [stdout] 78685c70953ddeafeb2bbad41f126df10a65712cca80cc725ef102c313bc760d [INFO] checking divan-0.1.4 against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] extracting crate divan 0.1.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate divan 0.1.4 on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate divan 0.1.4 [INFO] finished tweaking crates.io crate divan 0.1.4 [INFO] tweaked toml for crates.io crate divan 0.1.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate divan 0.1.4 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" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 663378a5f1936a0ce2c55b60e9584d600a225687d567d5e3a0ce43993fa09644 [INFO] running `Command { std: "docker" "start" "-a" "663378a5f1936a0ce2c55b60e9584d600a225687d567d5e3a0ce43993fa09644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "663378a5f1936a0ce2c55b60e9584d600a225687d567d5e3a0ce43993fa09644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663378a5f1936a0ce2c55b60e9584d600a225687d567d5e3a0ce43993fa09644", kill_on_drop: false }` [INFO] [stdout] 663378a5f1936a0ce2c55b60e9584d600a225687d567d5e3a0ce43993fa09644 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1737a2c1b317555ebc061915762da5fcec89276bf73cf122913e064091bdcad7 [INFO] running `Command { std: "docker" "start" "-a" "1737a2c1b317555ebc061915762da5fcec89276bf73cf122913e064091bdcad7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling divan-macros v0.1.4 [INFO] [stderr] Checking divan v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/weird_usage.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[divan::bench(types = [i32, u8])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/weird_usage.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[divan::bench(r#types = [i32, u8])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/weird_usage.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[divan::bench(consts = [0, -1, isize::MAX])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/weird_usage.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[divan::bench(consts = [0, -1, isize::MAX])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/weird_usage.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[divan::bench(consts = consts!())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `divan` (test "weird_usage") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[divan::bench(types = [i32, &str])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[divan::bench(consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[divan::bench(consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[divan::bench(types = [i32, &str], consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[divan::bench(types = [i32, &str], consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[divan::bench(types = [i32, &str])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[divan::bench(consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[divan::bench(consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[divan::bench(types = [i32, &str], consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[divan::bench(types = [i32, &str], consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | #[divan::bench(types = [i32, &str])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | #[divan::bench(consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | #[divan::bench(consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[divan::bench(types = [i32, &str], consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | #[divan::bench(types = [i32, &str], consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | #[divan::bench(types = [i32, &str])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[divan::bench(consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | #[divan::bench(consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[divan::bench(types = [i32, &str], consts = [1, 5, 10])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/forbid_unsafe.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[divan::bench(types = [i32, &str], consts = CONST_VALUES)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `divan::bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `divan` (test "forbid_unsafe") due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "1737a2c1b317555ebc061915762da5fcec89276bf73cf122913e064091bdcad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1737a2c1b317555ebc061915762da5fcec89276bf73cf122913e064091bdcad7", kill_on_drop: false }` [INFO] [stdout] 1737a2c1b317555ebc061915762da5fcec89276bf73cf122913e064091bdcad7