[INFO] cloning repository https://github.com/IBM/fdisk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IBM/fdisk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIBM%2Ffdisk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIBM%2Ffdisk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7582675876b9096af94e3203968582e9697aa2ec [INFO] checking IBM/fdisk against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIBM%2Ffdisk" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/IBM/fdisk [INFO] finished tweaking git repo https://github.com/IBM/fdisk [INFO] tweaked toml for git repo https://github.com/IBM/fdisk written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IBM/fdisk on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/IBM/fdisk 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c5a1a6137ce3e1cf3d4b3aed044b2e77a38513017caa9bb107feb69efda4446 [INFO] running `Command { std: "docker" "start" "-a" "9c5a1a6137ce3e1cf3d4b3aed044b2e77a38513017caa9bb107feb69efda4446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c5a1a6137ce3e1cf3d4b3aed044b2e77a38513017caa9bb107feb69efda4446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5a1a6137ce3e1cf3d4b3aed044b2e77a38513017caa9bb107feb69efda4446", kill_on_drop: false }` [INFO] [stdout] 9c5a1a6137ce3e1cf3d4b3aed044b2e77a38513017caa9bb107feb69efda4446 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0de46ae34f7131e4b33e40ef98654e90c8e4587deb43704a0882ed8224147319 [INFO] running `Command { std: "docker" "start" "-a" "0de46ae34f7131e4b33e40ef98654e90c8e4587deb43704a0882ed8224147319", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling fdisk-sys v0.2.0 [INFO] [stderr] Checking fdisk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iter.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(tbl: &mut Table) -> Iter { [INFO] [stdout] | ^^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(tbl: &mut Table) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement [INFO] [stdout] --> src/label.rs:115:62 [INFO] [stdout] | [INFO] [stdout] 115 | false => CString::new(name.as_ref().as_bytes())?.as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ pointer created here [INFO] [stdout] | | [INFO] [stdout] | this `CString` is dropped at end of statement [INFO] [stdout] | [INFO] [stdout] = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&mut self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iter.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(tbl: &mut Table) -> Iter { [INFO] [stdout] | ^^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(tbl: &mut Table) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement [INFO] [stdout] --> src/label.rs:115:62 [INFO] [stdout] | [INFO] [stdout] 115 | false => CString::new(name.as_ref().as_bytes())?.as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ pointer created here [INFO] [stdout] | | [INFO] [stdout] | this `CString` is dropped at end of statement [INFO] [stdout] | [INFO] [stdout] = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&mut self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.46s [INFO] running `Command { std: "docker" "inspect" "0de46ae34f7131e4b33e40ef98654e90c8e4587deb43704a0882ed8224147319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de46ae34f7131e4b33e40ef98654e90c8e4587deb43704a0882ed8224147319", kill_on_drop: false }` [INFO] [stdout] 0de46ae34f7131e4b33e40ef98654e90c8e4587deb43704a0882ed8224147319