[INFO] cloning repository https://github.com/whamcloud/rust-libzfs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whamcloud/rust-libzfs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhamcloud%2Frust-libzfs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhamcloud%2Frust-libzfs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6041b5e746cdaff54552b9c53163686378f74bdf [INFO] checking whamcloud/rust-libzfs against try#45b14c26f76a39a9945ef8518d3276f1bc880008 for pr-113242 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhamcloud%2Frust-libzfs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whamcloud/rust-libzfs on toolchain 45b14c26f76a39a9945ef8518d3276f1bc880008 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/whamcloud/rust-libzfs [INFO] finished tweaking git repo https://github.com/whamcloud/rust-libzfs [INFO] tweaked toml for git repo https://github.com/whamcloud/rust-libzfs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/whamcloud/rust-libzfs 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" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e1946c1ca6d74defed905b311f415b160db914131a4ca4ca0df4ee8119b7a93 [INFO] running `Command { std: "docker" "start" "-a" "1e1946c1ca6d74defed905b311f415b160db914131a4ca4ca0df4ee8119b7a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e1946c1ca6d74defed905b311f415b160db914131a4ca4ca0df4ee8119b7a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1946c1ca6d74defed905b311f415b160db914131a4ca4ca0df4ee8119b7a93", kill_on_drop: false }` [INFO] [stdout] 1e1946c1ca6d74defed905b311f415b160db914131a4ca4ca0df4ee8119b7a93 [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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a962935d638dc1c011b118f41f3977ab75ccbeb54b315f750ea2cf6a5fcc1f [INFO] running `Command { std: "docker" "start" "-a" "e9a962935d638dc1c011b118f41f3977ab75ccbeb54b315f750ea2cf6a5fcc1f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling nvpair-sys v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking cstr-argument v0.1.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking libzfs-types v0.1.2 (/opt/rustwide/workdir/libzfs-types) [INFO] [stderr] Compiling libzfs-sys v0.5.11 (/opt/rustwide/workdir/libzfs-sys) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libzfs-types/src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libzfs-types/src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `boolean` is ambiguous [INFO] [stdout] --> libzfs-sys/src/lib.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | let r = unsafe { zpool_export(zpool_h, boolean::B_FALSE, ptr::null_mut()) }; [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `boolean` could refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] note: `boolean` could also refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `boolean` is ambiguous [INFO] [stdout] --> libzfs-sys/src/lib.rs:276:63 [INFO] [stdout] | [INFO] [stdout] 276 | zfs_expand_proplist(ds_h, &mut prop_list_ptr, boolean::B_TRUE, boolean::B_TRUE); [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `boolean` could refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] note: `boolean` could also refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `boolean` is ambiguous [INFO] [stdout] --> libzfs-sys/src/lib.rs:276:80 [INFO] [stdout] | [INFO] [stdout] 276 | zfs_expand_proplist(ds_h, &mut prop_list_ptr, boolean::B_TRUE, boolean::B_TRUE); [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `boolean` could refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] note: `boolean` could also refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `boolean` is ambiguous [INFO] [stdout] --> libzfs-sys/src/lib.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | boolean::B_TRUE, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `boolean` could refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] note: `boolean` could also refer to the module imported here [INFO] [stdout] --> libzfs-sys/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `boolean` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> libzfs-sys/src/lib.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | let mut n = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libzfs-sys` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e9a962935d638dc1c011b118f41f3977ab75ccbeb54b315f750ea2cf6a5fcc1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a962935d638dc1c011b118f41f3977ab75ccbeb54b315f750ea2cf6a5fcc1f", kill_on_drop: false }` [INFO] [stdout] e9a962935d638dc1c011b118f41f3977ab75ccbeb54b315f750ea2cf6a5fcc1f