[INFO] cloning repository https://github.com/sapphire-alysa-star/Rust-Pals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sapphire-alysa-star/Rust-Pals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsapphire-alysa-star%2FRust-Pals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsapphire-alysa-star%2FRust-Pals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3bd8036e0241374f549b658f6d1590ed79b5bcf [INFO] checking sapphire-alysa-star/Rust-Pals against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsapphire-alysa-star%2FRust-Pals" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sapphire-alysa-star/Rust-Pals [INFO] finished tweaking git repo https://github.com/sapphire-alysa-star/Rust-Pals [INFO] tweaked toml for git repo https://github.com/sapphire-alysa-star/Rust-Pals written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sapphire-alysa-star/Rust-Pals on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sapphire-alysa-star/Rust-Pals 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.76 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16b52c25575709b9c70710ae811c6d81323055f566cfd538318e3c93b1c3bee9 [INFO] running `Command { std: "docker" "start" "-a" "16b52c25575709b9c70710ae811c6d81323055f566cfd538318e3c93b1c3bee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16b52c25575709b9c70710ae811c6d81323055f566cfd538318e3c93b1c3bee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b52c25575709b9c70710ae811c6d81323055f566cfd538318e3c93b1c3bee9", kill_on_drop: false }` [INFO] [stdout] 16b52c25575709b9c70710ae811c6d81323055f566cfd538318e3c93b1c3bee9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f665d593d0fc530a0cd7e1172c427713a973869f3ba1be7bb8976d0c3f701b8 [INFO] running `Command { std: "docker" "start" "-a" "1f665d593d0fc530a0cd7e1172c427713a973869f3ba1be7bb8976d0c3f701b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking strings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the local variable `x` will be dropped [INFO] [stdout] --> src/bin/23-dangle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 1 | fn dangle (val: i32) -> *const i32 { [INFO] [stdout] | ---------- return type of the function is `*const i32` [INFO] [stdout] 2 | let x: i32 = val; [INFO] [stdout] | - `x` is part the function and will be dropped at the end of the function [INFO] [stdout] 3 | [INFO] [stdout] 4 | let p: *const i32 = &x; [INFO] [stdout] | -- dangling pointer created here [INFO] [stdout] ... [INFO] [stdout] 8 | p [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; after returning, the `i32` will be deallocated at the end of the function because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = note: `#[warn(dangling_pointers_from_locals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the local variable `x` will be dropped [INFO] [stdout] --> src/bin/23-dangle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 1 | fn dangle (val: i32) -> *const i32 { [INFO] [stdout] | ---------- return type of the function is `*const i32` [INFO] [stdout] 2 | let x: i32 = val; [INFO] [stdout] | - `x` is part the function and will be dropped at the end of the function [INFO] [stdout] 3 | [INFO] [stdout] 4 | let p: *const i32 = &x; [INFO] [stdout] | -- dangling pointer created here [INFO] [stdout] ... [INFO] [stdout] 8 | p [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; after returning, the `i32` will be deallocated at the end of the function because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = note: `#[warn(dangling_pointers_from_locals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.21s [INFO] running `Command { std: "docker" "inspect" "1f665d593d0fc530a0cd7e1172c427713a973869f3ba1be7bb8976d0c3f701b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f665d593d0fc530a0cd7e1172c427713a973869f3ba1be7bb8976d0c3f701b8", kill_on_drop: false }` [INFO] [stdout] 1f665d593d0fc530a0cd7e1172c427713a973869f3ba1be7bb8976d0c3f701b8