[INFO] cloning repository https://github.com/ld000/linux-command-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ld000/linux-command-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fld000%2Flinux-command-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fld000%2Flinux-command-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ca333403198ba1dcba06fd9338f8814890f9e5e [INFO] checking ld000/linux-command-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fld000%2Flinux-command-rust" "/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/ld000/linux-command-rust 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/ld000/linux-command-rust [INFO] finished tweaking git repo https://github.com/ld000/linux-command-rust [INFO] tweaked toml for git repo https://github.com/ld000/linux-command-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/ld000/linux-command-rust 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] 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" "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] 0c4c139a9998f21b0d7e88c6a58aed5a934e0649c21b823d620120ea91286527 [INFO] running `Command { std: "docker" "start" "-a" "0c4c139a9998f21b0d7e88c6a58aed5a934e0649c21b823d620120ea91286527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c4c139a9998f21b0d7e88c6a58aed5a934e0649c21b823d620120ea91286527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4c139a9998f21b0d7e88c6a58aed5a934e0649c21b823d620120ea91286527", kill_on_drop: false }` [INFO] [stdout] 0c4c139a9998f21b0d7e88c6a58aed5a934e0649c21b823d620120ea91286527 [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" "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] f837f111ed7ffe246fe6186ab05b36de57246b662163cf57ee099bba20e4ff07 [INFO] running `Command { std: "docker" "start" "-a" "f837f111ed7ffe246fe6186ab05b36de57246b662163cf57ee099bba20e4ff07", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking linux-command-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/ls.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/bin/ls.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::macos::fs::MetadataExt; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let mode = &metadata.st_mode(); [INFO] [stdout] | ^^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_nlink` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | self.metadata.st_nlink() [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | self.metadata.st_uid() [INFO] [stdout] | ^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | self.metadata.st_gid() [INFO] [stdout] | ^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linux-command-rust` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/bin/ls.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::macos::fs::MetadataExt; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let mode = &metadata.st_mode(); [INFO] [stdout] | ^^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_nlink` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | self.metadata.st_nlink() [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | self.metadata.st_uid() [INFO] [stdout] | ^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/bin/ls.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | self.metadata.st_gid() [INFO] [stdout] | ^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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" "f837f111ed7ffe246fe6186ab05b36de57246b662163cf57ee099bba20e4ff07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f837f111ed7ffe246fe6186ab05b36de57246b662163cf57ee099bba20e4ff07", kill_on_drop: false }` [INFO] [stdout] f837f111ed7ffe246fe6186ab05b36de57246b662163cf57ee099bba20e4ff07