[INFO] fetching crate nameless 0.4.0... [INFO] checking nameless-0.4.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate nameless 0.4.0 into /workspace/builds/worker-64/source [INFO] validating manifest of crates.io crate nameless 0.4.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-64/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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 whoami v1.1.3 [INFO] [stderr] Downloaded terminal-io v0.6.0 [INFO] [stderr] Downloaded ssh2 v0.9.1 [INFO] [stderr] Downloaded io-lifetimes v0.2.3 [INFO] [stderr] Downloaded rsix v0.18.0 [INFO] [stderr] Downloaded os_str_bytes v3.1.0 [INFO] [stderr] Downloaded data-url v0.1.0 [INFO] [stderr] Downloaded ambient-authority v0.0.1 [INFO] [stderr] Downloaded maybe-owned v0.3.4 [INFO] [stderr] Downloaded os_pipe v0.9.2 [INFO] [stderr] Downloaded cap-primitives v0.17.0 [INFO] [stderr] Downloaded io-streams v0.6.0 [INFO] [stderr] Downloaded cap-std v0.17.0 [INFO] [stderr] Downloaded cap-fs-ext v0.17.0 [INFO] [stderr] Downloaded winx v0.28.0 [INFO] [stderr] Downloaded system-interface v0.11.0 [INFO] [stderr] Downloaded char-device v0.6.1 [INFO] [stderr] Downloaded socketpair v0.9.1 [INFO] [stderr] Downloaded duplex v0.6.0 [INFO] [stderr] Downloaded ureq v2.1.1 [INFO] [stderr] Downloaded linux-raw-sys v0.0.19 [INFO] [stderr] Downloaded layered-io v0.7.0 [INFO] [stderr] Downloaded unsafe-io v0.8.2 [INFO] [stderr] Downloaded fs-set-times v0.7.1 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded basic-text-literals v0.6.0 [INFO] [stderr] Downloaded utf8-io v0.6.0 [INFO] [stderr] Downloaded io-arrays v0.4.0 [INFO] [stderr] Downloaded basic-text v0.6.0 [INFO] [stderr] Downloaded basic-text-internals v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbeab8e8ce499dbcbbe476a56b9c610e5eb271ea2da29c45b5b3bb00d4e6b98c [INFO] running `Command { std: "docker" "start" "-a" "dbeab8e8ce499dbcbbe476a56b9c610e5eb271ea2da29c45b5b3bb00d4e6b98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbeab8e8ce499dbcbbe476a56b9c610e5eb271ea2da29c45b5b3bb00d4e6b98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbeab8e8ce499dbcbbe476a56b9c610e5eb271ea2da29c45b5b3bb00d4e6b98c", kill_on_drop: false }` [INFO] [stdout] dbeab8e8ce499dbcbbe476a56b9c610e5eb271ea2da29c45b5b3bb00d4e6b98c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a17bed70f069910a963f2fdafe55126b53238c61340551858be7429d425031cb [INFO] running `Command { std: "docker" "start" "-a" "a17bed70f069910a963f2fdafe55126b53238c61340551858be7429d425031cb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.99: extra_traits [INFO] [stderr] libc v0.2.99 (as host dependency): default, extra_traits, std [INFO] [stderr] syn v1.0.74 (as host dependency): visit [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking linux-raw-sys v0.0.19 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ambient-authority v0.0.1 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling whoami v1.1.3 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking shell-words v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking data-url v0.1.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling io-lifetimes v0.2.3 [INFO] [stderr] Compiling unsafe-io v0.8.2 [INFO] [stderr] Compiling char-device v0.6.1 [INFO] [stderr] Compiling socketpair v0.9.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 cap-std v0.17.0 [INFO] [stderr] Compiling system-interface v0.11.0 [INFO] [stderr] Compiling io-streams v0.6.0 [INFO] [stderr] Compiling cap-fs-ext v0.17.0 [INFO] [stderr] Compiling basic-text v0.6.0 [INFO] [stderr] Compiling io-arrays v0.4.0 [INFO] [stderr] Compiling nameless v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [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 mime_guess v2.0.3 [INFO] [stderr] Compiling cstr v0.2.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking 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] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking 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] Checking duplex v0.6.0 [INFO] [stderr] Checking 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] Checking nameless-clap v3.0.0-beta.2 [INFO] [stderr] Checking utf8-io v0.6.0 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/repl.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/cat.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/kommand.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/text-cat.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/clap.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/copy_with_defaults.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/repl-client.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/basic.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/grep.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/copy.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/sleep.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/text-grep.rs from 2018 edition to 2021 [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[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: 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/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/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/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[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/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[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[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: 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/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] [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/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] [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[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[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: 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/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[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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a17bed70f069910a963f2fdafe55126b53238c61340551858be7429d425031cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a17bed70f069910a963f2fdafe55126b53238c61340551858be7429d425031cb", kill_on_drop: false }` [INFO] [stdout] a17bed70f069910a963f2fdafe55126b53238c61340551858be7429d425031cb