[INFO] fetching crate libfdisk 0.1.5... [INFO] checking libfdisk-0.1.5 against master#a9e7b30487235621751cc628f170c0f15fb215c4 for pr-136539 [INFO] extracting crate libfdisk 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate libfdisk 0.1.5 on toolchain a9e7b30487235621751cc628f170c0f15fb215c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libfdisk 0.1.5 [INFO] finished tweaking crates.io crate libfdisk 0.1.5 [INFO] tweaked toml for crates.io crate libfdisk 0.1.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding nix v0.24.3 (available: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libfdisk-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c47aae14ad312725a96ab49ea039353a0686ba37df3b7c8079b70ab1a39e7f4 [INFO] running `Command { std: "docker" "start" "-a" "8c47aae14ad312725a96ab49ea039353a0686ba37df3b7c8079b70ab1a39e7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c47aae14ad312725a96ab49ea039353a0686ba37df3b7c8079b70ab1a39e7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c47aae14ad312725a96ab49ea039353a0686ba37df3b7c8079b70ab1a39e7f4", kill_on_drop: false }` [INFO] [stdout] 8c47aae14ad312725a96ab49ea039353a0686ba37df3b7c8079b70ab1a39e7f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe9f18356bc0fb96ff0efc357a987198d8e34fdf09ce3eade135383a5f651879 [INFO] running `Command { std: "docker" "start" "-a" "fe9f18356bc0fb96ff0efc357a987198d8e34fdf09ce3eade135383a5f651879", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking tempfile v3.16.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling libfdisk-sys v0.1.0 [INFO] [stderr] Checking libfdisk v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Utf8(::std::str::Utf8Error); [INFO] [stdout] 6 | | OsErrno(::nix::Error); [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Utf8(::std::str::Utf8Error); [INFO] [stdout] 6 | | OsErrno(::nix::Error); [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> src/label.rs:101:62 [INFO] [stdout] | [INFO] [stdout] 101 | false => CString::new(name.as_ref().as_bytes())?.as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> src/label.rs:101:62 [INFO] [stdout] | [INFO] [stdout] 101 | false => CString::new(name.as_ref().as_bytes())?.as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> tests/integration.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct SFdiskPartitionTable { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 20 | label: String, [INFO] [stdout] 21 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | device: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | #[serde(rename = "firstlba")] [INFO] [stdout] 25 | first_lba: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | #[serde(rename = "lastlba")] [INFO] [stdout] 27 | last_lba: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | grain: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | #[serde(rename = "sectorsize")] [INFO] [stdout] 30 | sector_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SFdiskPartitionTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node` and `uuid` are never read [INFO] [stdout] --> tests/integration.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct SFdiskPartition { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 36 | node: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SFdiskPartition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fe9f18356bc0fb96ff0efc357a987198d8e34fdf09ce3eade135383a5f651879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe9f18356bc0fb96ff0efc357a987198d8e34fdf09ce3eade135383a5f651879", kill_on_drop: false }` [INFO] [stdout] fe9f18356bc0fb96ff0efc357a987198d8e34fdf09ce3eade135383a5f651879