[INFO] fetching crate cmdr_macro 0.3.12... [INFO] testing cmdr_macro-0.3.12 against 1.55.0 for beta-1.56-1 [INFO] extracting crate cmdr_macro 0.3.12 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cmdr_macro 0.3.12 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32149e209bc500612b6863b520617cc3b407196c5e6010685933208ec736e3db [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" "32149e209bc500612b6863b520617cc3b407196c5e6010685933208ec736e3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32149e209bc500612b6863b520617cc3b407196c5e6010685933208ec736e3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32149e209bc500612b6863b520617cc3b407196c5e6010685933208ec736e3db", kill_on_drop: false }` [INFO] [stdout] 32149e209bc500612b6863b520617cc3b407196c5e6010685933208ec736e3db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3cf00f6fdf9725bf9c0356271c73761838272045797eefa9ed7ba1fb1028321 [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" "f3cf00f6fdf9725bf9c0356271c73761838272045797eefa9ed7ba1fb1028321", 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.13s [INFO] running `Command { std: "docker" "inspect" "f3cf00f6fdf9725bf9c0356271c73761838272045797eefa9ed7ba1fb1028321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cf00f6fdf9725bf9c0356271c73761838272045797eefa9ed7ba1fb1028321", kill_on_drop: false }` [INFO] [stdout] f3cf00f6fdf9725bf9c0356271c73761838272045797eefa9ed7ba1fb1028321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d77f617354300b4ed085dea6fc93f3365ce9b1e879da608ea5da1f5fb9e6da6d [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" "d77f617354300b4ed085dea6fc93f3365ce9b1e879da608ea5da1f5fb9e6da6d", 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 test [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "d77f617354300b4ed085dea6fc93f3365ce9b1e879da608ea5da1f5fb9e6da6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77f617354300b4ed085dea6fc93f3365ce9b1e879da608ea5da1f5fb9e6da6d", kill_on_drop: false }` [INFO] [stdout] d77f617354300b4ed085dea6fc93f3365ce9b1e879da608ea5da1f5fb9e6da6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.55.0" "test" "--frozen", 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] 765cb9245f18ddeffe320dcfee32470e9e1f6dd6322a6592fa69054f5c40512d [INFO] running `Command { std: "docker" "start" "-a" "765cb9245f18ddeffe320dcfee32470e9e1f6dd6322a6592fa69054f5c40512d", 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.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cmdr_macro-0d916e8e82da86d4) [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_parse_plain_cmd_attribute ... ok [INFO] [stdout] test overrides::tests::should_override_before_loop_when_available ... 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_name_from_multiple_cmd_attributes ... ok [INFO] [stdout] test overrides::tests::should_override_before_command_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_multiline_help_from_cmd_attribute ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_strip_help_text_spaces ... ok [INFO] [stdout] test overrides::tests::should_override_default_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_named_command_name ... ok [INFO] [stdout] test overrides::tests::should_override_after_loop_when_available ... 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_handle_error_when_available ... ok [INFO] [stdout] test overrides::tests::should_override_prompt_when_available ... ok [INFO] [stdout] test parsing::tests::should_return_impl_self_type ... ok [INFO] [stdout] test overrides::tests::should_override_help_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_parse_outer_doc_string_as_help_text ... ok [INFO] [stdout] test overrides::tests::should_override_multiple_commands_when_available ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_fail_for_different_functions ... ok [INFO] [stdout] test overrides::tests::should_override_nothing_when_no_overridable_methods ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_same_function ... ok [INFO] [stdout] test parsing::when_comparing_signatures::should_succeed_for_different_parameter_names ... ok [INFO] [stdout] test commands::when_parsing_function_cmd_attributes::should_parse_alias_from_cmd_attribute ... 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.09s [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" "765cb9245f18ddeffe320dcfee32470e9e1f6dd6322a6592fa69054f5c40512d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765cb9245f18ddeffe320dcfee32470e9e1f6dd6322a6592fa69054f5c40512d", kill_on_drop: false }` [INFO] [stdout] 765cb9245f18ddeffe320dcfee32470e9e1f6dd6322a6592fa69054f5c40512d