[INFO] cloning repository https://github.com/cadecairos/rls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cadecairos/rls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadecairos%2Frls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadecairos%2Frls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41113b53da2d7d6aa00c0d357557f5465e055e1e [INFO] checking cadecairos/rls/41113b53da2d7d6aa00c0d357557f5465e055e1e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadecairos%2Frls" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cadecairos/rls on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cadecairos/rls [INFO] finished tweaking git repo https://github.com/cadecairos/rls [INFO] tweaked toml for git repo https://github.com/cadecairos/rls written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cadecairos/rls 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28effff0aa6fab0fc9668f2e5c370bc3ef6795627c30144e8493303ac2719385 [INFO] running `Command { std: "docker" "start" "-a" "28effff0aa6fab0fc9668f2e5c370bc3ef6795627c30144e8493303ac2719385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28effff0aa6fab0fc9668f2e5c370bc3ef6795627c30144e8493303ac2719385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28effff0aa6fab0fc9668f2e5c370bc3ef6795627c30144e8493303ac2719385", kill_on_drop: false }` [INFO] [stdout] 28effff0aa6fab0fc9668f2e5c370bc3ef6795627c30144e8493303ac2719385 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf699c33665aa025661300d730724529462594f013d6d75479b9e8c3b23b6b81 [INFO] running `Command { std: "docker" "start" "-a" "cf699c33665aa025661300d730724529462594f013d6d75479b9e8c3b23b6b81", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rls v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `term` [INFO] [stdout] --> src/ls.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `term` [INFO] [stdout] --> src/ls.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/ls.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::fs; [INFO] [stdout] | ^^^^^^^^^^^ no `fs` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] 6 | use ls::os::linux::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 6 | use ls::os::unix::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | None => { fail!("Not a path") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | None => { fail!("not a path") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => { fail!(e.to_string()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | Err(f) => { fail!(f.to_string()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/ls.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::fs; [INFO] [stdout] | ^^^^^^^^^^^ no `fs` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] 6 | use ls::os::linux::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 6 | use ls::os::unix::fs; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | None => { fail!("Not a path") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | None => { fail!("not a path") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => { fail!(e.to_string()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/ls.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | Err(f) => { fail!(f.to_string()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/ls.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 4 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 4 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/ls.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | return os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - return os::args(); [INFO] [stdout] 23 + return args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn output_to_term(paths: Vec, show_hidden: bool) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_target(matches: getopts::Matches) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posix` in `path` [INFO] [stdout] --> src/ls.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | path::posix::Path::new(matches.free[0].clone()) [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] help: if you import `Path`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - path::posix::Path::new(matches.free[0].clone()) [INFO] [stdout] 63 + Path::new(matches.free[0].clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn read(dir: Path) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn read(dir: Path) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/ls.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_cwd() -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os` [INFO] [stdout] --> src/ls.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | os::getcwd() [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/ls.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | println!("{}", getopts::usage("Usage: rls [options]", opts).as_slice()); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `OptGroup` is private [INFO] [stdout] --> src/ls.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_matches(args: Vec, opts: &[getopts::OptGroup]) -> getopts::Matches { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `OptGroup` is defined here [INFO] [stdout] --> /rust/deps/getopts-0.2.21/src/lib.rs:670:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `OptGroup` is private [INFO] [stdout] --> src/ls.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn rls_usage(opts: &[getopts::OptGroup]) { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `OptGroup` is defined here [INFO] [stdout] --> /rust/deps/getopts-0.2.21/src/lib.rs:670:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_target(matches: getopts::Matches) -> Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_matches(args: Vec, opts: &[getopts::OptGroup]) -> getopts::Matches { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:77:70 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_matches(args: Vec, opts: &[getopts::OptGroup]) -> getopts::Matches { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn rls_usage(opts: &[getopts::OptGroup]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/ls.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 4 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 4 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/ls.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | return os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - return os::args(); [INFO] [stdout] 23 + return args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn output_to_term(paths: Vec, show_hidden: bool) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_target(matches: getopts::Matches) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posix` in `path` [INFO] [stdout] --> src/ls.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | path::posix::Path::new(matches.free[0].clone()) [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] help: if you import `Path`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - path::posix::Path::new(matches.free[0].clone()) [INFO] [stdout] 63 + Path::new(matches.free[0].clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn read(dir: Path) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn read(dir: Path) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/ls.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ls.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_cwd() -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ls::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os` [INFO] [stdout] --> src/ls.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | os::getcwd() [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/ls.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | println!("{}", getopts::usage("Usage: rls [options]", opts).as_slice()); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `OptGroup` is private [INFO] [stdout] --> src/ls.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_matches(args: Vec, opts: &[getopts::OptGroup]) -> getopts::Matches { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `OptGroup` is defined here [INFO] [stdout] --> /rust/deps/getopts-0.2.21/src/lib.rs:670:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `OptGroup` is private [INFO] [stdout] --> src/ls.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn rls_usage(opts: &[getopts::OptGroup]) { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `OptGroup` is defined here [INFO] [stdout] --> /rust/deps/getopts-0.2.21/src/lib.rs:670:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | if !matches.free.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | path::posix::Path::new(matches.free[0].clone()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_target(matches: getopts::Matches) -> Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_matches(args: Vec, opts: &[getopts::OptGroup]) -> getopts::Matches { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:77:70 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_matches(args: Vec, opts: &[getopts::OptGroup]) -> getopts::Matches { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn rls_usage(opts: &[getopts::OptGroup]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec` in the current scope [INFO] [stdout] --> src/ls.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | if !matches.free.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/ls.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | path::posix::Path::new(matches.free[0].clone()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0599, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rls` (lib) due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec` in the current scope [INFO] [stdout] --> src/ls.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0599, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rls` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "cf699c33665aa025661300d730724529462594f013d6d75479b9e8c3b23b6b81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf699c33665aa025661300d730724529462594f013d6d75479b9e8c3b23b6b81", kill_on_drop: false }` [INFO] [stdout] cf699c33665aa025661300d730724529462594f013d6d75479b9e8c3b23b6b81