[INFO] fetching crate nameless 0.6.0... [INFO] testing nameless-0.6.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate nameless 0.6.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate nameless 0.6.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nameless 0.6.0 [INFO] finished tweaking crates.io crate nameless 0.6.0 [INFO] tweaked toml for crates.io crate nameless 0.6.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate nameless 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 151680f7a04fac8e6dc1b20b3d014a28f1ebcef134a90b36ec850f7b5fb35947 [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" "151680f7a04fac8e6dc1b20b3d014a28f1ebcef134a90b36ec850f7b5fb35947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "151680f7a04fac8e6dc1b20b3d014a28f1ebcef134a90b36ec850f7b5fb35947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151680f7a04fac8e6dc1b20b3d014a28f1ebcef134a90b36ec850f7b5fb35947", kill_on_drop: false }` [INFO] [stdout] 151680f7a04fac8e6dc1b20b3d014a28f1ebcef134a90b36ec850f7b5fb35947 [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 738a7a5bca627e5b69ce4d5b1068df979f2af95eb8108efdc067b0a0452d75eb [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" "738a7a5bca627e5b69ce4d5b1068df979f2af95eb8108efdc067b0a0452d75eb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling whoami v1.2.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling data-url v0.1.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling os_pipe v0.9.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling io-lifetimes v0.3.3 [INFO] [stderr] Compiling rustix v0.26.2 [INFO] [stderr] Compiling io-extras v0.11.2 [INFO] [stderr] Compiling socketpair v0.11.1 [INFO] [stderr] Compiling char-device v0.8.1 [INFO] [stderr] Compiling terminal-io v0.8.0 [INFO] [stderr] Compiling layered-io v0.9.0 [INFO] [stderr] Compiling cap-primitives v0.21.1 [INFO] [stderr] Compiling cap-std v0.21.1 [INFO] [stderr] Compiling system-interface v0.16.0 [INFO] [stderr] Compiling io-streams v0.8.0 [INFO] [stderr] Compiling cap-fs-ext v0.21.1 [INFO] [stderr] Compiling basic-text v0.8.0 [INFO] [stderr] Compiling io-arrays v0.6.0 [INFO] [stderr] Compiling nameless v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cstr v0.2.9 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling idna v0.2.3 [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 url v2.2.2 [INFO] [stderr] Compiling fs-set-times v0.13.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.22.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling nameless-clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling ssh2 v0.9.3 [INFO] [stderr] Compiling ureq v2.3.0 [INFO] [stderr] Compiling duplex v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling basic-text-internals v0.8.0 [INFO] [stderr] Compiling basic-text-literals v0.8.0 [INFO] [stderr] Compiling nameless-clap v3.0.0-beta.2 [INFO] [stderr] Compiling utf8-io v0.8.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "738a7a5bca627e5b69ce4d5b1068df979f2af95eb8108efdc067b0a0452d75eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738a7a5bca627e5b69ce4d5b1068df979f2af95eb8108efdc067b0a0452d75eb", kill_on_drop: false }` [INFO] [stdout] 738a7a5bca627e5b69ce4d5b1068df979f2af95eb8108efdc067b0a0452d75eb [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0456d701787bc1a13bb39b91a1cb80ce032c4f56868ac68bfae5f202ec1b542 [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" "c0456d701787bc1a13bb39b91a1cb80ce032c4f56868ac68bfae5f202ec1b542", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling nameless v0.6.0 (/opt/rustwide/workdir) [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/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[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] [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/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/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 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/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 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-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/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: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/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/repl-client.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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/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/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/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[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/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] [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/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/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: 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: 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: 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: 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: 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/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[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] [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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c0456d701787bc1a13bb39b91a1cb80ce032c4f56868ac68bfae5f202ec1b542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0456d701787bc1a13bb39b91a1cb80ce032c4f56868ac68bfae5f202ec1b542", kill_on_drop: false }` [INFO] [stdout] c0456d701787bc1a13bb39b91a1cb80ce032c4f56868ac68bfae5f202ec1b542