[INFO] cloning repository https://github.com/gmjosack/coreutils.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmjosack/coreutils.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmjosack%2Fcoreutils.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmjosack%2Fcoreutils.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b9ff9d971867cf4c1666e337d18946fa85649a6 [INFO] checking gmjosack/coreutils.rs against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmjosack%2Fcoreutils.rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmjosack/coreutils.rs on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gmjosack/coreutils.rs [INFO] finished tweaking git repo https://github.com/gmjosack/coreutils.rs [INFO] tweaked toml for git repo https://github.com/gmjosack/coreutils.rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/gmjosack/coreutils.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c8e5c1034c5a5b6b5ef5ab0c7d7cc8bc68a2e219f734b7c5246a7d91cf73b78 [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" "8c8e5c1034c5a5b6b5ef5ab0c7d7cc8bc68a2e219f734b7c5246a7d91cf73b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c8e5c1034c5a5b6b5ef5ab0c7d7cc8bc68a2e219f734b7c5246a7d91cf73b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8e5c1034c5a5b6b5ef5ab0c7d7cc8bc68a2e219f734b7c5246a7d91cf73b78", kill_on_drop: false }` [INFO] [stdout] 8c8e5c1034c5a5b6b5ef5ab0c7d7cc8bc68a2e219f734b7c5246a7d91cf73b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7537b4d3c37ddc19fb2d6a1d43ff62a754e53a74c5cd5110a6d4a078be403563 [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" "7537b4d3c37ddc19fb2d6a1d43ff62a754e53a74c5cd5110a6d4a078be403563", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking coreutils v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/false.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/bin/false.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | os::set_exit_status(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [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/bin/false.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/bin/logname.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::funcs::posix88::unistd::getlogin; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::c_str` [INFO] [stdout] --> src/bin/logname.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::c_str::CString; [INFO] [stdout] | ^^^^^ could not find `c_str` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coreutils` [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[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/true.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [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/bin/true.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/logname.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getlogin` in this scope [INFO] [stdout] --> src/bin/logname.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | getlogin() as *const libc::c_char, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use libc::getlogin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/bin/logname.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | None => os::set_exit_status(1), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/true.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/bin/logname.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::funcs::posix88::unistd::getlogin; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/false.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/false.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/bin/false.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | os::set_exit_status(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::c_str` [INFO] [stdout] --> src/bin/logname.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::c_str::CString; [INFO] [stdout] | ^^^^^ could not find `c_str` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/true.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [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/bin/true.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [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/bin/logname.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [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] [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/bin/logname.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] [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/bin/logname.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | getlogin() as *const libc::c_char, [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] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/yes.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IoError` in module `io` [INFO] [stdout] --> src/bin/yes.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | Some(io::IoError { kind: io::BrokenPipe, .. }) => break, [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BrokenPipe` in module `io` [INFO] [stdout] --> src/bin/yes.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | Some(io::IoError { kind: io::BrokenPipe, .. }) => break, [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use io::ErrorKind::BrokenPipe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/bin/yes.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let mut stdout = &mut io::stdio::stdout(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bin/yes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/bin/yes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/basename.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/bin/basename.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | let file = Path::new(args[1].as_slice()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | [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/bin/basename.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [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/bin/false.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/yes.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/yes.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IoError` in module `io` [INFO] [stdout] --> src/bin/yes.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | Some(io::IoError { kind: io::BrokenPipe, .. }) => break, [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `BrokenPipe` in module `io` [INFO] [stdout] --> src/bin/yes.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | Some(io::IoError { kind: io::BrokenPipe, .. }) => break, [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use io::ErrorKind::BrokenPipe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/bin/yes.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let mut stdout = &mut io::stdio::stdout(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bin/yes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/bin/yes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/sync.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/basename.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/basename.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/bin/basename.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | let file = Path::new(args[1].as_slice()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | [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/bin/basename.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [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/bin/sync.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [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] [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/bin/sync.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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/logname.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/logname.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getlogin` in this scope [INFO] [stdout] --> src/bin/logname.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | getlogin() as *const libc::c_char, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use libc::getlogin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/bin/logname.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | None => os::set_exit_status(1), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [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/bin/logname.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [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] [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/bin/logname.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] [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/bin/logname.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | getlogin() as *const libc::c_char, [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/sync.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | getopts::optflag("h", "help", "display this help and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | getopts::optflag("V", "version", "output version information and exit"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let matches = match getopts::getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/bin/sync.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | println!("Usage: {}", getopts::usage(program.as_slice(), opts)); [INFO] [stdout] | ^^^^^ not found in `getopts` [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/bin/sync.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [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] [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/bin/sync.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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for reference `&str` in the current scope [INFO] [stdout] --> src/bin/basename.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | return string.slice_to(string.len() - suffix.len()).to_string(); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for reference `&str` in the current scope [INFO] [stdout] --> src/bin/basename.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | return string.slice_to(string.len() - suffix.len()).to_string(); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut Stdout` in the current scope [INFO] [stdout] --> src/bin/yes.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | match writeln!(stdout, "{}", output).err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Stdout` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut Stdout` in the current scope [INFO] [stdout] --> src/bin/yes.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | match writeln!(stdout, "{}", output).err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Stdout` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | [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: E0422, E0425, E0531, E0599, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [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: E0422, E0425, E0531, E0599, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bin/basename.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bin/basename.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bin/basename.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bin/basename.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bin/basename.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/bin/basename.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | println!("Usage: {}", getopts::usage(program_usage.as_slice(), opts)); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7537b4d3c37ddc19fb2d6a1d43ff62a754e53a74c5cd5110a6d4a078be403563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7537b4d3c37ddc19fb2d6a1d43ff62a754e53a74c5cd5110a6d4a078be403563", kill_on_drop: false }` [INFO] [stdout] 7537b4d3c37ddc19fb2d6a1d43ff62a754e53a74c5cd5110a6d4a078be403563