[INFO] fetching crate cmdr_macro 0.3.12... [INFO] testing cmdr_macro-0.3.12 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate cmdr_macro 0.3.12 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate cmdr_macro 0.3.12 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6385880a044414493f94876e0112157c9c8a785e5100b0753aefd50146686f4 [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" "a6385880a044414493f94876e0112157c9c8a785e5100b0753aefd50146686f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6385880a044414493f94876e0112157c9c8a785e5100b0753aefd50146686f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6385880a044414493f94876e0112157c9c8a785e5100b0753aefd50146686f4", kill_on_drop: false }` [INFO] [stdout] a6385880a044414493f94876e0112157c9c8a785e5100b0753aefd50146686f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 761f8418f3bf3ca0d47f4919f31164e41f0cf22dd1620843686bbc9bb33765a9 [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" "761f8418f3bf3ca0d47f4919f31164e41f0cf22dd1620843686bbc9bb33765a9", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.9.0 [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 4.52s [INFO] running `Command { std: "docker" "inspect" "761f8418f3bf3ca0d47f4919f31164e41f0cf22dd1620843686bbc9bb33765a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "761f8418f3bf3ca0d47f4919f31164e41f0cf22dd1620843686bbc9bb33765a9", kill_on_drop: false }` [INFO] [stdout] 761f8418f3bf3ca0d47f4919f31164e41f0cf22dd1620843686bbc9bb33765a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 99a54600a01f2c32e3a8377531b8c144f18528f847117af21eba08eb1f19061d [INFO] running `Command { std: "docker" "start" "-a" "99a54600a01f2c32e3a8377531b8c144f18528f847117af21eba08eb1f19061d", kill_on_drop: false }` [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] [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 2.56s [INFO] running `Command { std: "docker" "inspect" "99a54600a01f2c32e3a8377531b8c144f18528f847117af21eba08eb1f19061d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a54600a01f2c32e3a8377531b8c144f18528f847117af21eba08eb1f19061d", kill_on_drop: false }` [INFO] [stdout] 99a54600a01f2c32e3a8377531b8c144f18528f847117af21eba08eb1f19061d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a539ffaa1702b7cf3437b04ca673de4fc42edc4e5d8367edb16ba0b8696c9ae8 [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" "a539ffaa1702b7cf3437b04ca673de4fc42edc4e5d8367edb16ba0b8696c9ae8", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/commands.rs:106:24 [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.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cmdr_macro-74bd792263738944) [INFO] [stdout] running 27 tests [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_ignore_method_without_cmd_attribute ... 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_parse_alias_from_cmd_attribute ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_multiline_help_from_cmd_attribute ... ok [INFO] [stdout] test overrides::tests::should_override_before_loop_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_after_command_when_available ... 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_name_from_multiple_cmd_attributes ... ok [INFO] [stdout] test overrides::tests::should_override_after_loop_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_default_when_available ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_named_command_name ... 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_ignore_docstring_if_cmd_attribute_help_available ... ok [INFO] [stdout] test overrides::tests::should_override_before_command_when_available ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_strip_help_text_spaces ... 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_outer_doc_string_as_help_text ... ok [INFO] [stdout] test overrides::tests::should_override_multiple_commands_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_handle_error_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_help_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_nothing_when_no_overridable_methods ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_fail_for_different_functions ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_different_parameter_names ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_same_function ... ok [INFO] [stdout] test parsing::tests::should_return_impl_self_type ... 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.14s [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" "a539ffaa1702b7cf3437b04ca673de4fc42edc4e5d8367edb16ba0b8696c9ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a539ffaa1702b7cf3437b04ca673de4fc42edc4e5d8367edb16ba0b8696c9ae8", kill_on_drop: false }` [INFO] [stdout] a539ffaa1702b7cf3437b04ca673de4fc42edc4e5d8367edb16ba0b8696c9ae8