[INFO] fetching crate nameless 0.4.0... [INFO] testing nameless-0.4.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate nameless 0.4.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate nameless 0.4.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nameless 0.4.0 [INFO] finished tweaking crates.io crate nameless 0.4.0 [INFO] tweaked toml for crates.io crate nameless 0.4.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate nameless 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9acf2025ed04a08c8c2b9c971853fb91cc26401e12d6c935b23401df21a668d [INFO] running `Command { std: "docker" "start" "-a" "a9acf2025ed04a08c8c2b9c971853fb91cc26401e12d6c935b23401df21a668d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9acf2025ed04a08c8c2b9c971853fb91cc26401e12d6c935b23401df21a668d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9acf2025ed04a08c8c2b9c971853fb91cc26401e12d6c935b23401df21a668d", kill_on_drop: false }` [INFO] [stdout] a9acf2025ed04a08c8c2b9c971853fb91cc26401e12d6c935b23401df21a668d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4315ecf40513c55567e5ec985b9b19ef98cc22d68d4a721c67b8aa0aa0ea05a [INFO] running `Command { std: "docker" "start" "-a" "b4315ecf40513c55567e5ec985b9b19ef98cc22d68d4a721c67b8aa0aa0ea05a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling linux-raw-sys v0.0.19 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling ambient-authority v0.0.1 [INFO] [stderr] Compiling whoami v1.1.3 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling data-url v0.1.0 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stderr] Compiling io-lifetimes v0.2.3 [INFO] [stderr] Compiling unsafe-io v0.8.2 [INFO] [stderr] Compiling socketpair v0.9.1 [INFO] [stderr] Compiling char-device v0.6.1 [INFO] [stderr] Compiling terminal-io v0.6.0 [INFO] [stderr] Compiling layered-io v0.7.0 [INFO] [stderr] Compiling cap-primitives v0.17.0 [INFO] [stderr] Compiling system-interface v0.11.0 [INFO] [stderr] Compiling cap-std v0.17.0 [INFO] [stderr] Compiling cap-fs-ext v0.17.0 [INFO] [stderr] Compiling io-streams v0.6.0 [INFO] [stderr] Compiling io-arrays v0.4.0 [INFO] [stderr] Compiling basic-text v0.6.0 [INFO] [stderr] Compiling nameless v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rsix v0.18.0 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cstr v0.2.8 [INFO] [stderr] Compiling os_pipe v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling fs-set-times v0.7.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling ssh2 v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling nameless-clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling duplex v0.6.0 [INFO] [stderr] Compiling ureq v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling basic-text-internals v0.6.0 [INFO] [stderr] Compiling basic-text-literals v0.6.0 [INFO] [stderr] Compiling nameless-clap v3.0.0-beta.2 [INFO] [stderr] Compiling utf8-io v0.6.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.87s [INFO] running `Command { std: "docker" "inspect" "b4315ecf40513c55567e5ec985b9b19ef98cc22d68d4a721c67b8aa0aa0ea05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4315ecf40513c55567e5ec985b9b19ef98cc22d68d4a721c67b8aa0aa0ea05a", kill_on_drop: false }` [INFO] [stdout] b4315ecf40513c55567e5ec985b9b19ef98cc22d68d4a721c67b8aa0aa0ea05a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2df48a161f9601283627518a1893237a951d4e84ff4c5facdff72ec7bd130102 [INFO] running `Command { std: "docker" "start" "-a" "2df48a161f9601283627518a1893237a951d4e84ff4c5facdff72ec7bd130102", kill_on_drop: false }` [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling nameless v0.4.0 (/opt/rustwide/workdir) [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[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` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/grep.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[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[E0433]: failed to resolve: use of undeclared crate or module `kommand` [INFO] [stdout] --> examples/basic.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[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/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[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[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/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: cannot find attribute `kommand` in this scope [INFO] [stdout] --> examples/grep.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[kommand(short = 'l', long)] inputs_with_matches: bool, [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: cannot find attribute `kommand` in this scope [INFO] [stdout] --> examples/basic.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[kommand(short, long)] debug: bool, [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: cannot find attribute `kommand` in this scope [INFO] [stdout] --> examples/basic.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[kommand(short, long, parse(from_occurrences))] verbose: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kommand` in this scope [INFO] [stdout] --> examples/basic.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[kommand(short, long, default_value = "42")] speed: f64, [INFO] [stdout] | ^^^^^^^ [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[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: cannot find attribute `kommand` in this scope [INFO] [stdout] --> examples/basic.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[kommand(short, long)] output: OutputByteStream, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kommand` in this scope [INFO] [stdout] --> examples/basic.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[kommand(short = 'c', long)] nb_cars: Option, [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: 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 `kommand` in this scope [INFO] [stdout] --> examples/basic.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[kommand(short, long)] level: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kommand` in this scope [INFO] [stdout] --> examples/basic.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[kommand(name = "INPUT")] inputs: Vec, [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: 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/grep.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / fn main( [INFO] [stdout] 16 | | pattern: Regex, [INFO] [stdout] 17 | | output: LazyOutput, [INFO] [stdout] 18 | | inputs: Vec, [INFO] [stdout] 19 | | #[kommand(short = 'l', long)] inputs_with_matches: bool, [INFO] [stdout] 20 | | ) -> 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, bool) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/basic.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / fn main( [INFO] [stdout] 24 | | // A flag, true if used in the command line. The name of the argument will be, [INFO] [stdout] 25 | | // by default, based on the name of the field. [INFO] [stdout] 26 | | #[kommand(short, long)] debug: bool, [INFO] [stdout] ... | [INFO] [stdout] 34 | | #[kommand(name = "INPUT")] inputs: Vec, [INFO] [stdout] 35 | | ) { [INFO] [stdout] | |_^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn()` [INFO] [stdout] found fn pointer `fn(bool, u8, f64, OutputByteStream, Option, Vec, Vec)` [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: aborting due to 9 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[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[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[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[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 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: build failed [INFO] running `Command { std: "docker" "inspect" "2df48a161f9601283627518a1893237a951d4e84ff4c5facdff72ec7bd130102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df48a161f9601283627518a1893237a951d4e84ff4c5facdff72ec7bd130102", kill_on_drop: false }` [INFO] [stdout] 2df48a161f9601283627518a1893237a951d4e84ff4c5facdff72ec7bd130102