[INFO] cloning repository https://github.com/wfraser/zsnapmgr3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wfraser/zsnapmgr3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwfraser%2Fzsnapmgr3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwfraser%2Fzsnapmgr3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8cee983c1a3f0e07427108a90923fc4cb6c48b4 [INFO] checking wfraser/zsnapmgr3 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwfraser%2Fzsnapmgr3" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wfraser/zsnapmgr3 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wfraser/zsnapmgr3 [INFO] removed path dependency libzfs from git repo https://github.com/wfraser/zsnapmgr3 [INFO] finished tweaking git repo https://github.com/wfraser/zsnapmgr3 [INFO] tweaked toml for git repo https://github.com/wfraser/zsnapmgr3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/wfraser/zsnapmgr3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (libzfs) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (libzfs) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce9b90d444af5d11f7a9d01ce255152587d7a4e809c63f6c3b396957dc4c9506 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce9b90d444af5d11f7a9d01ce255152587d7a4e809c63f6c3b396957dc4c9506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce9b90d444af5d11f7a9d01ce255152587d7a4e809c63f6c3b396957dc4c9506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9b90d444af5d11f7a9d01ce255152587d7a4e809c63f6c3b396957dc4c9506", kill_on_drop: false }` [INFO] [stdout] ce9b90d444af5d11f7a9d01ce255152587d7a4e809c63f6c3b396957dc4c9506 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed152d57dbe49224e17bdd7ec926c242b89c734bf43e3b9c36fdccd0f3194c11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed152d57dbe49224e17bdd7ec926c242b89c734bf43e3b9c36fdccd0f3194c11", kill_on_drop: false }` [INFO] [stderr] warning: dependency (libzfs) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling nvpair-sys v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling zsnapmgr v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking cstr-argument v0.1.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling libzfs-sys v0.5.11 [INFO] [stderr] Checking libzfs-types v0.1.2 [INFO] [stderr] Checking libzfs v0.6.16 [INFO] [stdout] error[E0432]: unresolved imports `libzfs::DatasetType`, `libzfs::DatasetTypeMask`, `libzfs::LibZfs` [INFO] [stdout] --> src/zfs.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use libzfs::{DatasetType, DatasetTypeMask, LibZfs}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LibZfs` in the root [INFO] [stdout] | | | help: a similar name exists in the module (notice the capitalization): `Libzfs` [INFO] [stdout] | | no `DatasetTypeMask` in the root [INFO] [stdout] | no `DatasetType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libzfs::DatasetType`, `libzfs::DatasetTypeMask`, `libzfs::LibZfs` [INFO] [stdout] --> src/zfs.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use libzfs::{DatasetType, DatasetTypeMask, LibZfs}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LibZfs` in the root [INFO] [stdout] | | | help: a similar name exists in the module (notice the capitalization): `Libzfs` [INFO] [stdout] | | no `DatasetTypeMask` in the root [INFO] [stdout] | no `DatasetType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `libzfs` [INFO] [stdout] --> src/zfs_error.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | libzfs::Error::Sys(e) => ZfsError { io_error: Some(e), descr: "?".to_owned() }, // FIXME [INFO] [stdout] | ^^^^^ could not find `Error` in `libzfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `libzfs` [INFO] [stdout] --> src/zfs_error.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | libzfs::Error::Zfs(zfs_error) => ZfsError { [INFO] [stdout] | ^^^^^ could not find `Error` in `libzfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LibZfs` in `libzfs` [INFO] [stdout] --> src/zfs.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | let client = libzfs::LibZfs::new()?; [INFO] [stdout] | ^^^^^^ could not find `LibZfs` in `libzfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `libzfs` [INFO] [stdout] --> src/zfs_error.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | libzfs::Error::Sys(e) => ZfsError { io_error: Some(e), descr: "?".to_owned() }, // FIXME [INFO] [stdout] | ^^^^^ could not find `Error` in `libzfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `libzfs` [INFO] [stdout] --> src/zfs_error.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | libzfs::Error::Zfs(zfs_error) => ZfsError { [INFO] [stdout] | ^^^^^ could not find `Error` in `libzfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `libzfs` [INFO] [stdout] --> src/zfs_error.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl From for ZfsError { [INFO] [stdout] | ^^^^^ not found in `libzfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `libzfs` [INFO] [stdout] --> src/zfs_error.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn from(e: libzfs::Error) -> ZfsError { [INFO] [stdout] | ^^^^^ not found in `libzfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LibZfs` in `libzfs` [INFO] [stdout] --> src/zfs.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | let client = libzfs::LibZfs::new()?; [INFO] [stdout] | ^^^^^^ could not find `LibZfs` in `libzfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `libzfs` [INFO] [stdout] --> src/zfs_error.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl From for ZfsError { [INFO] [stdout] | ^^^^^ not found in `libzfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `libzfs` [INFO] [stdout] --> src/zfs_error.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn from(e: libzfs::Error) -> ZfsError { [INFO] [stdout] | ^^^^^ not found in `libzfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use zfs_error::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | match dataset.get_type() { [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | match dataset.get_type() { [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | volumes.push(dataset.get_name().to_string()); [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | volumes.push(dataset.get_name().to_string()); [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 136 | ... Some(ds.get_name().to_string()) [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:152:46 [INFO] [stdout] | [INFO] [stdout] 152 | ... } else if ds.get_type() == DatasetType::Snapshot { [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 136 | ... Some(ds.get_name().to_string()) [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | ... Some(ds.get_name().to_string()) [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:152:46 [INFO] [stdout] | [INFO] [stdout] 152 | ... } else if ds.get_type() == DatasetType::Snapshot { [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Dataset` in the current scope [INFO] [stdout] --> src/zfs.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | ... Some(ds.get_name().to_string()) [INFO] [stdout] | ^^^^^^^^ method not found in `Dataset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zsnapmgr` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ed152d57dbe49224e17bdd7ec926c242b89c734bf43e3b9c36fdccd0f3194c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed152d57dbe49224e17bdd7ec926c242b89c734bf43e3b9c36fdccd0f3194c11", kill_on_drop: false }` [INFO] [stdout] ed152d57dbe49224e17bdd7ec926c242b89c734bf43e3b9c36fdccd0f3194c11