[INFO] cloning repository https://github.com/asomers/ztop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asomers/ztop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasomers%2Fztop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasomers%2Fztop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bb73160fbb28dd1d8948c4c12780da0eb9c8c58 [INFO] checking asomers/ztop against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasomers%2Fztop" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asomers/ztop on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asomers/ztop [INFO] finished tweaking git repo https://github.com/asomers/ztop [INFO] tweaked toml for git repo https://github.com/asomers/ztop written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/asomers/ztop already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.22.0 [INFO] [stderr] Downloaded sysctl v0.4.2 [INFO] [stderr] Downloaded humanize-rs v0.1.5 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6f013fc3ecb0ffee230c8be8fa76823a7ddb9372ca6c1c9da3854184749bdd4 [INFO] running `Command { std: "docker" "start" "-a" "f6f013fc3ecb0ffee230c8be8fa76823a7ddb9372ca6c1c9da3854184749bdd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6f013fc3ecb0ffee230c8be8fa76823a7ddb9372ca6c1c9da3854184749bdd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f013fc3ecb0ffee230c8be8fa76823a7ddb9372ca6c1c9da3854184749bdd4", kill_on_drop: false }` [INFO] [stdout] f6f013fc3ecb0ffee230c8be8fa76823a7ddb9372ca6c1c9da3854184749bdd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d99ec4733891fea3e20f73a3fb35b43e6085f70be497236b7705d3e303ba001 [INFO] running `Command { std: "docker" "start" "-a" "9d99ec4733891fea3e20f73a3fb35b43e6085f70be497236b7705d3e303ba001", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking humanize-rs v0.1.5 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking nix v0.22.0 [INFO] [stderr] Checking tui v0.15.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking sysctl v0.4.2 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking ztop v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SnapshotIter` [INFO] [stdout] --> src/app.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | SnapshotIter::new(pool) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SnapshotIter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SnapshotIter` in this scope [INFO] [stdout] --> src/app.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 28 | struct Snapshot { [INFO] [stdout] | --------------- similarly named struct `Snapshot` defined here [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn iter(pool: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(pool: Option<&str>) -> Result> { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | impl Snapshot { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `CLOCK_UPTIME` found for struct `nix::time::ClockId` in the current scope [INFO] [stdout] --> src/app.rs:111:51 [INFO] [stdout] | [INFO] [stdout] 111 | let boottime = clock_gettime(ClockId::CLOCK_UPTIME).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `nix::time::ClockId` [INFO] [stdout] | help: there is an associated constant with a similar name: `CLOCK_BOOTTIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ztop` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SnapshotIter` [INFO] [stdout] --> src/app.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | SnapshotIter::new(pool) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SnapshotIter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SnapshotIter` in this scope [INFO] [stdout] --> src/app.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 28 | struct Snapshot { [INFO] [stdout] | --------------- similarly named struct `Snapshot` defined here [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn iter(pool: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(pool: Option<&str>) -> Result> { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | impl Snapshot { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `CLOCK_UPTIME` found for struct `nix::time::ClockId` in the current scope [INFO] [stdout] --> src/app.rs:111:51 [INFO] [stdout] | [INFO] [stdout] 111 | let boottime = clock_gettime(ClockId::CLOCK_UPTIME).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `nix::time::ClockId` [INFO] [stdout] | help: there is an associated constant with a similar name: `CLOCK_BOOTTIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9d99ec4733891fea3e20f73a3fb35b43e6085f70be497236b7705d3e303ba001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d99ec4733891fea3e20f73a3fb35b43e6085f70be497236b7705d3e303ba001", kill_on_drop: false }` [INFO] [stdout] 9d99ec4733891fea3e20f73a3fb35b43e6085f70be497236b7705d3e303ba001