[INFO] fetching crate outsource-heap 0.1.2... [INFO] checking outsource-heap-0.1.2 against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] extracting crate outsource-heap 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate outsource-heap 0.1.2 [INFO] finished tweaking crates.io crate outsource-heap 0.1.2 [INFO] tweaked toml for crates.io crate outsource-heap 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate outsource-heap 0.1.2 on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cfa5523a9c5ef9368269ecab9d9134478e55054c9a76cdaed73276a2af1e4cc [INFO] running `Command { std: "docker" "start" "-a" "1cfa5523a9c5ef9368269ecab9d9134478e55054c9a76cdaed73276a2af1e4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cfa5523a9c5ef9368269ecab9d9134478e55054c9a76cdaed73276a2af1e4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfa5523a9c5ef9368269ecab9d9134478e55054c9a76cdaed73276a2af1e4cc", kill_on_drop: false }` [INFO] [stdout] 1cfa5523a9c5ef9368269ecab9d9134478e55054c9a76cdaed73276a2af1e4cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aa531839d5577e5adc8d46e656c85fe3c5664ae0fa526a7ea1ccf8f33725307 [INFO] running `Command { std: "docker" "start" "-a" "5aa531839d5577e5adc8d46e656c85fe3c5664ae0fa526a7ea1ccf8f33725307", kill_on_drop: false }` [INFO] [stderr] Checking unwind_safe v0.1.0 [INFO] [stderr] Checking linked_list_allocator v0.10.5 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking outsource-heap v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `OUTSOURCE_HEAP_BOUNDED_UB` [INFO] [stdout] --> src/bounded.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(OUTSOURCE_HEAP_BOUNDED_UB)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(OUTSOURCE_HEAP_BOUNDED_UB)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(OUTSOURCE_HEAP_BOUNDED_UB)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `OUTSOURCE_HEAP_BOUNDED_UB` [INFO] [stdout] --> src/bounded.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(OUTSOURCE_HEAP_BOUNDED_UB)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(OUTSOURCE_HEAP_BOUNDED_UB)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(OUTSOURCE_HEAP_BOUNDED_UB)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `OUTSOURCE_HEAP_BOUNDED_UB` [INFO] [stdout] --> src/bounded.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(OUTSOURCE_HEAP_BOUNDED_UB))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(OUTSOURCE_HEAP_BOUNDED_UB)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(OUTSOURCE_HEAP_BOUNDED_UB)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `OUTSOURCE_HEAP_BOUNDED_UB` [INFO] [stdout] --> src/bounded.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(OUTSOURCE_HEAP_BOUNDED_UB)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(OUTSOURCE_HEAP_BOUNDED_UB)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(OUTSOURCE_HEAP_BOUNDED_UB)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/lib.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { Some(NonNull::new_unchecked(store as *const dyn Store as *mut dyn Store)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `S` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn to_hook(store: &S) -> Hook { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `OUTSOURCE_HEAP_BOUNDED_UB` [INFO] [stdout] --> src/bounded.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(OUTSOURCE_HEAP_BOUNDED_UB)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(OUTSOURCE_HEAP_BOUNDED_UB)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(OUTSOURCE_HEAP_BOUNDED_UB)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `OUTSOURCE_HEAP_BOUNDED_UB` [INFO] [stdout] --> src/bounded.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(OUTSOURCE_HEAP_BOUNDED_UB))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(OUTSOURCE_HEAP_BOUNDED_UB)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(OUTSOURCE_HEAP_BOUNDED_UB)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/lib.rs:235:57 [INFO] [stdout] | [INFO] [stdout] 235 | unsafe { reregister(Some(NonNull::new_unchecked(store as *const dyn Store as *mut dyn Store))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `S` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) unsafe fn register(store: &S) -> Hook { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `outsource-heap` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/lib.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { Some(NonNull::new_unchecked(store as *const dyn Store as *mut dyn Store)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `S` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn to_hook(store: &S) -> Hook { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/lib.rs:235:57 [INFO] [stdout] | [INFO] [stdout] 235 | unsafe { reregister(Some(NonNull::new_unchecked(store as *const dyn Store as *mut dyn Store))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `S` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) unsafe fn register(store: &S) -> Hook { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `outsource-heap` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5aa531839d5577e5adc8d46e656c85fe3c5664ae0fa526a7ea1ccf8f33725307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa531839d5577e5adc8d46e656c85fe3c5664ae0fa526a7ea1ccf8f33725307", kill_on_drop: false }` [INFO] [stdout] 5aa531839d5577e5adc8d46e656c85fe3c5664ae0fa526a7ea1ccf8f33725307