[INFO] fetching crate nameless 0.0.1... [INFO] checking nameless-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate nameless 0.0.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate nameless 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nameless 0.0.1 [INFO] finished tweaking crates.io crate nameless 0.0.1 [INFO] tweaked toml for crates.io crate nameless 0.0.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate nameless 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ssh2 v0.9.1 [INFO] [stderr] Downloaded cap-fs-ext v0.13.6 [INFO] [stderr] Downloaded cap-primitives v0.13.6 [INFO] [stderr] Downloaded winx v0.23.0 [INFO] [stderr] Downloaded fs-set-times v0.2.3 [INFO] [stderr] Downloaded layered-io v0.3.1 [INFO] [stderr] Downloaded utf8-io v0.3.1 [INFO] [stderr] Downloaded cap-std v0.13.6 [INFO] [stderr] Downloaded char-device v0.2.0 [INFO] [stderr] Downloaded system-interface v0.6.2 [INFO] [stderr] Downloaded socketpair v0.5.0 [INFO] [stderr] Downloaded io-arrays v0.2.1 [INFO] [stderr] Downloaded io-streams v0.2.2 [INFO] [stderr] Downloaded basic-text v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1540bd6b358ed63cf4779da3ce26e7dfbbda4ce935999c2cb2b0a0a6b7670348 [INFO] running `Command { std: "docker" "start" "-a" "1540bd6b358ed63cf4779da3ce26e7dfbbda4ce935999c2cb2b0a0a6b7670348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1540bd6b358ed63cf4779da3ce26e7dfbbda4ce935999c2cb2b0a0a6b7670348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1540bd6b358ed63cf4779da3ce26e7dfbbda4ce935999c2cb2b0a0a6b7670348", kill_on_drop: false }` [INFO] [stdout] 1540bd6b358ed63cf4779da3ce26e7dfbbda4ce935999c2cb2b0a0a6b7670348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a6c59307af349b311294f5e0cc39c37a75d0bf61f0f67c190ee2a7b747c37c [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" "40a6c59307af349b311294f5e0cc39c37a75d0bf61f0f67c190ee2a7b747c37c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking shell-words v1.0.0 [INFO] [stderr] Checking whoami v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking data-url v0.1.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unsafe-io v0.5.2 [INFO] [stderr] Compiling char-device v0.2.0 [INFO] [stderr] Compiling terminal-io v0.2.1 [INFO] [stderr] Compiling layered-io v0.3.1 [INFO] [stderr] Compiling cap-primitives v0.13.6 [INFO] [stderr] Compiling system-interface v0.6.2 [INFO] [stderr] Compiling cap-std v0.13.6 [INFO] [stderr] Compiling cap-fs-ext v0.13.6 [INFO] [stderr] Compiling io-streams v0.2.2 [INFO] [stderr] Compiling basic-text v0.2.1 [INFO] [stderr] Compiling io-arrays v0.2.1 [INFO] [stderr] Compiling nameless v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking posish v0.5.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking socketpair v0.5.0 [INFO] [stderr] Checking fs-set-times v0.2.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Checking ureq v2.0.2 [INFO] [stderr] Checking ssh2 v0.9.1 [INFO] [stderr] Checking duplex v0.2.0 [INFO] [stderr] Checking utf8-io v0.3.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/repl-client.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/repl.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/sleep.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/repl.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | fn main(io: InteractiveTextStream) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(InteractiveTextStream) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/copy.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/kommand.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0580. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/copy.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn main(mut input: InputByteStream, mut output: OutputByteStream) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(InputByteStream, OutputByteStream) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0580. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nameless` [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[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/text-grep.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::TryFromOsArg; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/text-grep.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/text-cat.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/clap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::Clap; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Clap` [INFO] [stdout] --> examples/clap.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clap)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/repl-client.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | fn main(io: InteractiveTextStream) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(InteractiveTextStream) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0580. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/kommand.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | fn main(mut input: InputByteStream, mut output: OutputByteStream) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(InputByteStream, OutputByteStream) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0580. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> examples/clap.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[clap(name = "example", about = "An example of StructOpt usage.")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/sleep.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn main(duration: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn()` [INFO] [stdout] found fn pointer `fn(humantime::Duration)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> examples/clap.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> examples/clap.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[clap(short = 'v', long = "velocity", default_value = "42")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0580. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/text-cat.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn main(output: LazyOutput, inputs: Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(LazyOutput, Vec) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0580. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/copy_with_defaults.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::TryFromOsArg; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/copy_with_defaults.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/grep.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/cat.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::TryFromOsArg; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/cat.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[kommand::main] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/grep.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / fn main( [INFO] [stdout] 14 | | pattern: Regex, [INFO] [stdout] 15 | | output: LazyOutput, [INFO] [stdout] 16 | | inputs: Vec, [INFO] [stdout] 17 | | ) -> anyhow::Result<()> { [INFO] [stdout] | |_______________________^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(regex::Regex, LazyOutput, Vec) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0580. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_os_str_arg` found for struct `OutputTextStream` in the current scope [INFO] [stdout] --> examples/text-grep.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | let mut output = OutputTextStream::try_from_os_str_arg("-".as_ref())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OutputTextStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use nameless::TryFromOsArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_os_str_arg` found for struct `InputTextStream` in the current scope [INFO] [stdout] --> examples/text-grep.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | inputs.push(InputTextStream::try_from_os_str_arg("-".as_ref())?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `InputTextStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use nameless::TryFromOsArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/text-grep.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/text-grep.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | fn main(pattern: Regex, mut inputs: Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(regex::Regex, Vec) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0580, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_os_str_arg` found for struct `InputByteStream` in the current scope [INFO] [stdout] --> examples/copy_with_defaults.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | InputByteStream::try_from_os_str_arg("-".as_ref())? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `InputByteStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use nameless::TryFromOsArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_os_str_arg` found for struct `OutputByteStream` in the current scope [INFO] [stdout] --> examples/copy_with_defaults.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | OutputByteStream::try_from_os_str_arg("-".as_ref())? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OutputByteStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use nameless::TryFromOsArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/copy_with_defaults.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | fn main(input: Option, output: Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(Option, Option) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0580, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_os_str_arg` found for struct `OutputTextStream` in the current scope [INFO] [stdout] --> examples/cat.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | let mut output = OutputTextStream::try_from_os_str_arg("-".as_ref())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OutputTextStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use nameless::TryFromOsArg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> examples/cat.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn main(inputs: Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> Result<_, _>` [INFO] [stdout] found fn pointer `fn(Vec) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0580, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/clap.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | let opt = Opt::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `nom::sequence::Tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "40a6c59307af349b311294f5e0cc39c37a75d0bf61f0f67c190ee2a7b747c37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a6c59307af349b311294f5e0cc39c37a75d0bf61f0f67c190ee2a7b747c37c", kill_on_drop: false }` [INFO] [stdout] 40a6c59307af349b311294f5e0cc39c37a75d0bf61f0f67c190ee2a7b747c37c