[INFO] fetching crate cmdr_macro 0.3.12... [INFO] testing cmdr_macro-0.3.12 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate cmdr_macro 0.3.12 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cmdr_macro 0.3.12 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 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] ffcb5fc6cfef1d622ab479ad006e69252c65cac9381f410cde41144204675039 [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" "ffcb5fc6cfef1d622ab479ad006e69252c65cac9381f410cde41144204675039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffcb5fc6cfef1d622ab479ad006e69252c65cac9381f410cde41144204675039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffcb5fc6cfef1d622ab479ad006e69252c65cac9381f410cde41144204675039", kill_on_drop: false }` [INFO] [stdout] ffcb5fc6cfef1d622ab479ad006e69252c65cac9381f410cde41144204675039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 505aefba8496e03b13c7b8a22a2c7e516b9114829cd99b7fd69859d5b64fe0cf [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" "505aefba8496e03b13c7b8a22a2c7e516b9114829cd99b7fd69859d5b64fe0cf", 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "505aefba8496e03b13c7b8a22a2c7e516b9114829cd99b7fd69859d5b64fe0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505aefba8496e03b13c7b8a22a2c7e516b9114829cd99b7fd69859d5b64fe0cf", kill_on_drop: false }` [INFO] [stdout] 505aefba8496e03b13c7b8a22a2c7e516b9114829cd99b7fd69859d5b64fe0cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 1f7d04e7aa687c9ec7934e8a20a1248b414babfdae0e34edf9ca0f125c1794b1 [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" "1f7d04e7aa687c9ec7934e8a20a1248b414babfdae0e34edf9ca0f125c1794b1", 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 1.63s [INFO] running `Command { std: "docker" "inspect" "1f7d04e7aa687c9ec7934e8a20a1248b414babfdae0e34edf9ca0f125c1794b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7d04e7aa687c9ec7934e8a20a1248b414babfdae0e34edf9ca0f125c1794b1", kill_on_drop: false }` [INFO] [stdout] 1f7d04e7aa687c9ec7934e8a20a1248b414babfdae0e34edf9ca0f125c1794b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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", kill_on_drop: false }` [INFO] [stdout] f483c4bf94df7e8a9fbd62fc71a3149837d3027ff3d21eb579b3599fe60b11c9 [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" "f483c4bf94df7e8a9fbd62fc71a3149837d3027ff3d21eb579b3599fe60b11c9", 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] [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.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cmdr_macro-420feefd2b70dacc) [INFO] [stdout] [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_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_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 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_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_handle_error_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_help_when_available ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_plain_cmd_attribute ... ok [INFO] [stdout] test overrides::tests::should_override_after_loop_when_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_before_loop_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_prompt_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_multiple_commands_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_nothing_when_no_overridable_methods ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_strip_help_text_spaces ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_fail_for_different_functions ... 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_default_when_available ... ok [INFO] [stdout] test parsing::tests::should_return_impl_self_type ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_different_parameter_names ... ok [INFO] [stdout] test overrides::tests::should_override_after_command_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_before_command_when_available ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_same_function ... 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.05s [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" "f483c4bf94df7e8a9fbd62fc71a3149837d3027ff3d21eb579b3599fe60b11c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f483c4bf94df7e8a9fbd62fc71a3149837d3027ff3d21eb579b3599fe60b11c9", kill_on_drop: false }` [INFO] [stdout] f483c4bf94df7e8a9fbd62fc71a3149837d3027ff3d21eb579b3599fe60b11c9