[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#349c4bfa6ac87b818f6fd19d4869c0b24790ac6a for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fld000%2Flinux-command-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ld000/linux-command-rust on toolchain 349c4bfa6ac87b818f6fd19d4869c0b24790ac6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ld000/linux-command-rust 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" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7a7aae423a17c635d053efa5c6d6cc503125ad2bda89f60a7b3e1f2cc9ad196 [INFO] running `Command { std: "docker" "start" "-a" "d7a7aae423a17c635d053efa5c6d6cc503125ad2bda89f60a7b3e1f2cc9ad196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7a7aae423a17c635d053efa5c6d6cc503125ad2bda89f60a7b3e1f2cc9ad196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a7aae423a17c635d053efa5c6d6cc503125ad2bda89f60a7b3e1f2cc9ad196", kill_on_drop: false }` [INFO] [stdout] d7a7aae423a17c635d053efa5c6d6cc503125ad2bda89f60a7b3e1f2cc9ad196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8834b1bcbbd720b429f826f24054521c350606061ebfc42f4b9baac6eeed232 [INFO] running `Command { std: "docker" "start" "-a" "c8834b1bcbbd720b429f826f24054521c350606061ebfc42f4b9baac6eeed232", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.98 [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] 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 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/mod.rs:156:6 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated behind the `macos` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/mod.rs:156:6 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated behind the `macos` feature [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:94:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 159 - let mode = &metadata.st_mode(); [INFO] [stdout] 159 + let mode = &metadata.mode(); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:94:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 159 - let mode = &metadata.st_mode(); [INFO] [stdout] 159 + let mode = &metadata.mode(); [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:111:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_nlink` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `nlink` with a similar name [INFO] [stdout] | [INFO] [stdout] 193 - self.metadata.st_nlink() [INFO] [stdout] 193 + self.metadata.nlink() [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:111:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_nlink` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `nlink` with a similar name [INFO] [stdout] | [INFO] [stdout] 193 - self.metadata.st_nlink() [INFO] [stdout] 193 + self.metadata.nlink() [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:128:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_uid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_gid` with a similar name [INFO] [stdout] | [INFO] [stdout] 198 - self.metadata.st_uid() [INFO] [stdout] 198 + self.metadata.st_gid() [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:128:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_uid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_gid` with a similar name [INFO] [stdout] | [INFO] [stdout] 198 - self.metadata.st_uid() [INFO] [stdout] 198 + self.metadata.st_gid() [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:145:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_gid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_uid` with a similar name [INFO] [stdout] | [INFO] [stdout] 203 - self.metadata.st_gid() [INFO] [stdout] 203 + self.metadata.st_uid() [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/349c4bfa6ac87b818f6fd19d4869c0b24790ac6a/library/std/src/os/linux/fs.rs:145:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_gid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_uid` with a similar name [INFO] [stdout] | [INFO] [stdout] 203 - self.metadata.st_gid() [INFO] [stdout] 203 + self.metadata.st_uid() [INFO] [stdout] | [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] [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` (bin "ls" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `linux-command-rust` (bin "ls") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "c8834b1bcbbd720b429f826f24054521c350606061ebfc42f4b9baac6eeed232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8834b1bcbbd720b429f826f24054521c350606061ebfc42f4b9baac6eeed232", kill_on_drop: false }` [INFO] [stdout] c8834b1bcbbd720b429f826f24054521c350606061ebfc42f4b9baac6eeed232