[INFO] cloning repository https://github.com/RevelationOfTuring/Rust-exercise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RevelationOfTuring/Rust-exercise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRevelationOfTuring%2FRust-exercise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRevelationOfTuring%2FRust-exercise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85833a6e8ad2ed3365b46f1059682316bdcdc8ef [INFO] checking RevelationOfTuring/Rust-exercise against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRevelationOfTuring%2FRust-exercise" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RevelationOfTuring/Rust-exercise on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RevelationOfTuring/Rust-exercise [INFO] finished tweaking git repo https://github.com/RevelationOfTuring/Rust-exercise [INFO] tweaked toml for git repo https://github.com/RevelationOfTuring/Rust-exercise written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/RevelationOfTuring/Rust-exercise already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", 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] a142615785d5bd7ffdb1a8b952a8af96a5b1a97d386e52aecf7d60675deb5715 [INFO] running `Command { std: "docker" "start" "-a" "a142615785d5bd7ffdb1a8b952a8af96a5b1a97d386e52aecf7d60675deb5715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a142615785d5bd7ffdb1a8b952a8af96a5b1a97d386e52aecf7d60675deb5715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a142615785d5bd7ffdb1a8b952a8af96a5b1a97d386e52aecf7d60675deb5715", kill_on_drop: false }` [INFO] [stdout] a142615785d5bd7ffdb1a8b952a8af96a5b1a97d386e52aecf7d60675deb5715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24fc84b4d3814e2d13caf1899408b3f480d07f9872b5068801fee33ee8ca4a2 [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" "b24fc84b4d3814e2d13caf1899408b3f480d07f9872b5068801fee33ee8ca4a2", kill_on_drop: false }` [INFO] [stderr] Checking rust-exercise v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macro_rules/domain_specific_languages.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! calculate { [INFO] [stdout] 12 | | (michael $e:expr) => { [INFO] [stdout] 13 | | { [INFO] [stdout] 14 | | { [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macro_rules/variadic_interfaces.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / macro_rules! calculate { [INFO] [stdout] 10 | | // 如果是单个参数 [INFO] [stdout] 11 | | (michael $e:expr) => { [INFO] [stdout] 12 | | { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/generics.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | fn generics_function(arg: T) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/module_visibility.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_visibility.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_access` [INFO] [stdout] --> src/module_visibility.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn indirect_access() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_visibility.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/module_visibility.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_my_mod` [INFO] [stdout] --> src/module_visibility.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | pub(in crate::module_visibility::my_mod) fn public_function_in_my_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_my_mod_inner` [INFO] [stdout] --> src/module_visibility.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | pub(self) fn public_function_in_my_mod_inner() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_super_mod` [INFO] [stdout] --> src/module_visibility.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub(super) fn public_function_in_super_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_public_function_in_my_mod` [INFO] [stdout] --> src/module_visibility.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn call_public_function_in_my_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_crate` [INFO] [stdout] --> src/module_visibility.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn public_function_in_crate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_visibility.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_visibility.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OpenBox` [INFO] [stdout] --> src/module_struct_visibility.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OpenBox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClosedBox` [INFO] [stdout] --> src/module_struct_visibility.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClosedBox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/module_struct_visibility.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(contents: T) -> ClosedBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_super_and_self.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_super_and_self.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_super_and_self.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_super_and_self.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_call` [INFO] [stdout] --> src/module_super_and_self.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn indirect_call() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/inaccessible.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn public_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/nested.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/nested.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_access` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn indirect_access() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_file_hierarchy.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `are_you_on_linux` [INFO] [stdout] --> src/attribute_cfg.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn are_you_on_linux() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generics_function` [INFO] [stdout] --> src/generics.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn generics_function(arg: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `multiply_v1` [INFO] [stdout] --> src/error_handling_result_map.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn multiply_v1(first_num_str: &str, second_num_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_result` [INFO] [stdout] --> src/error_handling_result_map.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn print_result(result: Result) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `multiply_v2` [INFO] [stdout] --> src/error_handling_result_map.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn multiply_v2(first_num_str: &str, second_num_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/error_handling_multiple_error_types_boxing_errors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `double_first` [INFO] [stdout] --> src/error_handling_multiple_error_types_boxing_errors.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn double_first(vec: Vec<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_result` [INFO] [stdout] --> src/error_handling_multiple_error_types_boxing_errors.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn print_result(result: Result) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_box` [INFO] [stdout] --> src/scoping_rules/raii/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn create_box() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `author` [INFO] [stdout] --> src/scoping_rules/borrowing/mutability.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | author: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/scoping_rules/borrowing/mutability.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | title: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `year` [INFO] [stdout] --> src/scoping_rules/borrowing/mutability.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | year: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrow_book` [INFO] [stdout] --> src/scoping_rules/borrowing/mutability.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn borrow_book(book: &Book) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_edition` [INFO] [stdout] --> src/scoping_rules/borrowing/mutability.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new_edition(book: &mut Book) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NUM` [INFO] [stdout] --> src/lifetimes/static.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | static NUM: i32 = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MichaelDivisionByZero` [INFO] [stdout] --> src/std_library_types/result.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | MichaelDivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MichaelNegativeSquareRoot` [INFO] [stdout] --> src/std_library_types/result.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | MichaelNegativeSquareRoot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MichaelNegativeLogarithm` [INFO] [stdout] --> src/std_library_types/result.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | MichaelNegativeLogarithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MichaelResult` [INFO] [stdout] --> src/std_library_types/result.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub type MichaelResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `divide` [INFO] [stdout] --> src/std_library_types/result.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn divide(divident: f64, divisor: f64) -> MichaelResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sqrt` [INFO] [stdout] --> src/std_library_types/result.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn sqrt(num: f64) -> MichaelResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ln` [INFO] [stdout] --> src/std_library_types/result.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn ln(num: f64) -> MichaelResult { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MichaelDivisionByZero` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | MichaelDivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MichaelNegativeSquareRoot` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | MichaelNegativeSquareRoot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MichaelNegativeLogarithm` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | MichaelNegativeLogarithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MichaelResult` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | type MichaelResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn div(divident: f64, divisor: f64) -> MichaelResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ln` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn ln(num: f64) -> MichaelResult { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sqrt` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn sqrt(num: f64) -> MichaelResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `op` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn op(num1: f64, num2: f64) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_op` [INFO] [stdout] --> src/std_library_types/result_with_question_mark.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn run_op(num1: f64, num2: f64) -> MichaelResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `TEXT` [INFO] [stdout] --> src/file_io/create.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static TEXT: &str = "This is a file for create test!!"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/labels.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 'inner: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io/open.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | Err(err) => panic!("file {} is opened failed: {}", display, err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io/open.rs:30:75 [INFO] [stdout] | [INFO] [stdout] 30 | Err(err) => panic!("file {} is read failed: {}", display, err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io/create.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | Err(err) => panic!("file {} is created failed: {}", display, err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noisy_unused_variable` [INFO] [stdout] --> src/variable_bindings.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let noisy_unused_variable = 2u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_noisy_unused_variable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closure_annotated` [INFO] [stdout] --> src/function_closures.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let closure_annotated = |i: i32| -> i32 { i + 1 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure_annotated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reborrow` [INFO] [stdout] --> src/function_closures_capturing.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let reborrow = &mut count; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reborrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/function_diverging_functions.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let a = some_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/generics.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | fn generics_function(arg: T) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/object_safe.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut x = 1024; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo2` [INFO] [stdout] --> src/object_safe.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut foo2 = Foo2(1024); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_foo2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/scoping_rules/raii/destructor.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let x = S; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lifetimes/explicit_annotation.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let x = 1024; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test3` [INFO] [stdout] --> src/traits/derive.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let test3 = Test3(1024); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/traits/operator_overloading.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn add(self, rhs: Test1) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/traits/operator_overloading.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | fn add(self, rhs: Test2) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test2` [INFO] [stdout] --> src/traits/drop.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let test2 = Test { name: "test2" }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test3` [INFO] [stdout] --> src/traits/drop.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let test3 = Test { name: "test3" }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test4` [INFO] [stdout] --> src/traits/drop.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let test4 = Test { name: "test4" }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/object_safe.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut x = 1024; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/object_safe.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut foo2 = Foo2(1024); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std_library_types/hashset.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut set2: HashSet = vec![3, 4, 5, 6, 7, 8].into_iter().collect(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo` [INFO] [stdout] --> src/function_diverging_functions.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn foo() -> ! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/module_visibility.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/module_visibility.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contents` [INFO] [stdout] --> src/module_struct_visibility.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | contents: T, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/inaccessible.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn public_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/module_file_hierarchy/my_mod/nested.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unused_function` [INFO] [stdout] --> src/attribute_dead_code.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn unused_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generics_function` [INFO] [stdout] --> src/generics.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn generics_function(arg: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Turkey` [INFO] [stdout] --> src/generics_empty_bounds.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | struct Turkey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/error_handling_unpacking_options_with_question_mark.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/std_library_types/box_stack_heap.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/std_library_types/box_stack_heap.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `field1` [INFO] [stdout] --> src/std_library_types/box_stack_heap.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | field1: Test1, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `field2` [INFO] [stdout] --> src/std_library_types/box_stack_heap.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | field2: Test1, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_michael` [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | fn $func + Copy>(xs: &mut Vec, ys: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | op!(add_michael,Add,+=,add); // Add是一个trait,add是该trait中的方法名 [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul_michael` [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | fn $func + Copy>(xs: &mut Vec, ys: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | op!(mul_michael,Mul,*=,mul); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sub_michael` [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | fn $func + Copy>(xs: &mut Vec, ys: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | op!(sub_michael,Sub,-=,sub); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_michael` [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | fn $func(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | test_michael!(add_michael,1,2,3); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul_michael` [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | fn $func(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | test_michael!(mul_michael,4,5,20); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sub_michael` [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | fn $func(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | test_michael!(sub_michael,3,2,1); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/function_closures_examples_in_std.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{}", array2.into_iter().any(|&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/function_closures_examples_in_std.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | println!("{:?}", array2.into_iter().find(|&&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | test_michael!(add_michael,1,2,3); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnameable_test_items)]` on by default [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | test_michael!(mul_michael,4,5,20); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/macro_rules/dont_repeat_yourself.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | test_michael!(sub_michael,3,2,1); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ToString_and_FromStr` should have a snake case name [INFO] [stdout] --> src/conversion.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn test_ToString_and_FromStr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_to_string_and_from_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "b24fc84b4d3814e2d13caf1899408b3f480d07f9872b5068801fee33ee8ca4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24fc84b4d3814e2d13caf1899408b3f480d07f9872b5068801fee33ee8ca4a2", kill_on_drop: false }` [INFO] [stdout] b24fc84b4d3814e2d13caf1899408b3f480d07f9872b5068801fee33ee8ca4a2