[INFO] fetching crate cmdr_macro 0.3.12... [INFO] testing cmdr_macro-0.3.12 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cmdr_macro 0.3.12 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate cmdr_macro 0.3.12 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cmdr_macro 0.3.12 [INFO] finished tweaking crates.io crate cmdr_macro 0.3.12 [INFO] tweaked toml for crates.io crate cmdr_macro 0.3.12 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8777a77c1fc1e2df819a4415b5f2e893f28eb26834f97a37c16a76edb846961b [INFO] running `Command { std: "docker" "start" "-a" "8777a77c1fc1e2df819a4415b5f2e893f28eb26834f97a37c16a76edb846961b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8777a77c1fc1e2df819a4415b5f2e893f28eb26834f97a37c16a76edb846961b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8777a77c1fc1e2df819a4415b5f2e893f28eb26834f97a37c16a76edb846961b", kill_on_drop: false }` [INFO] [stdout] 8777a77c1fc1e2df819a4415b5f2e893f28eb26834f97a37c16a76edb846961b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d512f1ec6106ba2adfb97e337917ab4a7c98352675cc9e091a26b5e3556c8695 [INFO] running `Command { std: "docker" "start" "-a" "d512f1ec6106ba2adfb97e337917ab4a7c98352675cc9e091a26b5e3556c8695", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cmdr_macro v0.3.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/commands.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 107 | | "Wrong return type for command {}, should be CommandReult", [INFO] [stdout] 108 | | method_ident [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 106 ~ panic!( [INFO] [stdout] 107 | "Wrong return type for command {}, should be CommandReult", [INFO] [stdout] 108 | method_ident [INFO] [stdout] 109 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/commands.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 127 | | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stdout] 128 | | method_ident [INFO] [stdout] 129 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 126 ~ _ => panic!( [INFO] [stdout] 127 | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stdout] 128 | method_ident [INFO] [stdout] 129 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.08s [INFO] running `Command { std: "docker" "inspect" "d512f1ec6106ba2adfb97e337917ab4a7c98352675cc9e091a26b5e3556c8695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d512f1ec6106ba2adfb97e337917ab4a7c98352675cc9e091a26b5e3556c8695", kill_on_drop: false }` [INFO] [stdout] d512f1ec6106ba2adfb97e337917ab4a7c98352675cc9e091a26b5e3556c8695 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5f47cda5ec0c65b4d199dfaed6b836ce2a54fd1f22ac9f8a384008da3ba99e3 [INFO] running `Command { std: "docker" "start" "-a" "a5f47cda5ec0c65b4d199dfaed6b836ce2a54fd1f22ac9f8a384008da3ba99e3", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/commands.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 107 | | "Wrong return type for command {}, should be CommandReult", [INFO] [stdout] 108 | | method_ident [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 106 ~ panic!( [INFO] [stdout] 107 | "Wrong return type for command {}, should be CommandReult", [INFO] [stdout] 108 | method_ident [INFO] [stdout] 109 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/commands.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 127 | | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stdout] 128 | | method_ident [INFO] [stdout] 129 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 126 ~ _ => panic!( [INFO] [stdout] 127 | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stdout] 128 | method_ident [INFO] [stdout] 129 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cmdr_macro v0.3.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/commands.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 107 | | "Wrong return type for command {}, should be CommandReult", [INFO] [stdout] 108 | | method_ident [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 106 ~ panic!( [INFO] [stdout] 107 | "Wrong return type for command {}, should be CommandReult", [INFO] [stdout] 108 | method_ident [INFO] [stdout] 109 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/commands.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 127 | | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stdout] 128 | | method_ident [INFO] [stdout] 129 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 126 ~ _ => panic!( [INFO] [stdout] 127 | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stdout] 128 | method_ident [INFO] [stdout] 129 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.30s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmdr_macro-2a96fb5306eb558c) [INFO] running `Command { std: "docker" "inspect" "a5f47cda5ec0c65b4d199dfaed6b836ce2a54fd1f22ac9f8a384008da3ba99e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f47cda5ec0c65b4d199dfaed6b836ce2a54fd1f22ac9f8a384008da3ba99e3", kill_on_drop: false }` [INFO] [stdout] a5f47cda5ec0c65b4d199dfaed6b836ce2a54fd1f22ac9f8a384008da3ba99e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e38827c6a9df5663524b4fd202063912b2672c503e048b88a5f550daa4202ccc [INFO] running `Command { std: "docker" "start" "-a" "e38827c6a9df5663524b4fd202063912b2672c503e048b88a5f550daa4202ccc", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] [INFO] [stderr] --> src/commands.rs:106:24 [INFO] [stdout] running 27 tests [INFO] [stderr] | [INFO] [stderr] 106 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 107 | | "Wrong return type for command {}, should be CommandReult", [INFO] [stderr] 108 | | method_ident [INFO] [stderr] 109 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 106 ~ panic!( [INFO] [stderr] 107 | "Wrong return type for command {}, should be CommandReult", [INFO] [stderr] 108 | method_ident [INFO] [stderr] 109 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/commands.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | _ => panic!(format!( [INFO] [stderr] | _____________________^ [INFO] [stderr] 127 | | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stderr] 128 | | method_ident [INFO] [stderr] 129 | | )), [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 126 ~ _ => panic!( [INFO] [stderr] 127 | "Invalid signature for command {}, expected '&mut self, args &[String]'", [INFO] [stderr] 128 | method_ident [INFO] [stderr] 129 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cmdr_macro` (lib) generated 2 warnings [INFO] [stderr] warning: `cmdr_macro` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmdr_macro-2a96fb5306eb558c) [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_ignore_method_without_cmd_attribute ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_same_function ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_fail_for_different_functions ... ok [INFO] [stdout] test parsing::tests::should_return_impl_self_type ... ok [INFO] [stdout] test overrides::tests::should_override_before_loop_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_nothing_when_no_overridable_methods ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_different_parameter_names ... ok [INFO] [stdout] test overrides::tests::should_override_after_loop_when_available ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_multiline_help_from_cmd_attribute ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_plain_cmd_attribute ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_set_missing_help_text_to_none ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_command_name ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_ignore_docstring_if_cmd_attribute_help_available ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_name_from_multiple_cmd_attributes ... ok [INFO] [stdout] test overrides::tests::should_override_prompt_when_available ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_inner_doc_string_as_help_text ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_alias_from_cmd_attribute ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_named_command_name ... ok [INFO] [stdout] test overrides::tests::should_override_before_command_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_handle_error_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_multiple_commands_when_available ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_strip_help_text_spaces ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_outer_doc_string_as_help_text ... ok [INFO] [stdout] test overrides::tests::should_override_after_command_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_default_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_help_when_available ... ok [INFO] [stdout] test overrides::tests::should_panic_when_overriding_prompt_with_wrong_signature - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests cmdr_macro [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e38827c6a9df5663524b4fd202063912b2672c503e048b88a5f550daa4202ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38827c6a9df5663524b4fd202063912b2672c503e048b88a5f550daa4202ccc", kill_on_drop: false }` [INFO] [stdout] e38827c6a9df5663524b4fd202063912b2672c503e048b88a5f550daa4202ccc