[INFO] cloning repository https://github.com/eda3/rust_by_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eda3/rust_by_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a6ce944bf302d0525297dbb34073341a008778a [INFO] checking eda3/rust_by_example against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example" "/workspace/builds/worker-78/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-78/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eda3/rust_by_example on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eda3/rust_by_example [INFO] finished tweaking git repo https://github.com/eda3/rust_by_example [INFO] tweaked toml for git repo https://github.com/eda3/rust_by_example written to /workspace/builds/worker-78/source/Cargo.toml [INFO] crate git repo https://github.com/eda3/rust_by_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2446286c5ec2e4236c492f5ee2b429e101ec4024547ed52fd2e4665ce2dd1f7f [INFO] running `Command { std: "docker" "start" "-a" "2446286c5ec2e4236c492f5ee2b429e101ec4024547ed52fd2e4665ce2dd1f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2446286c5ec2e4236c492f5ee2b429e101ec4024547ed52fd2e4665ce2dd1f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2446286c5ec2e4236c492f5ee2b429e101ec4024547ed52fd2e4665ce2dd1f7f", kill_on_drop: false }` [INFO] [stdout] 2446286c5ec2e4236c492f5ee2b429e101ec4024547ed52fd2e4665ce2dd1f7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aca0f03fab21fecaff3d41bc58513e769b6b784fecc7b014ae6945a06bcc698e [INFO] running `Command { std: "docker" "start" "-a" "aca0f03fab21fecaff3d41bc58513e769b6b784fecc7b014ae6945a06bcc698e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust_by_example v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/09-3-0_hof.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/03-2-1-0_enum_use.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-0.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-2_fn.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/05-4-0_alias.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/08-5-3-0_binding.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/04-1-0_mut.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/02-2-3-0_array.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-2-0_impl.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/01-2-1-0_print_debug.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-5_trait.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-4-1-0_testcase_emply.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-2-0_move.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-0_generics.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-6_0_where.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/05-1-0_cast.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/06-1-0_from_into.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/08-5-0_match.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/06-2-0_try_from_try_into.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/06-3-0_string.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-1_explicit.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/08-5-1-1-0_destructure_tuple.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/04-4-0_freeze.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/02-2-0_tuples.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/03-3-0_constants.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/03-2-2-0_c_like.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-3-3-0_ref.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-4-0_bounds.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/09-2-1_capture.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/05-3-0_inference.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-8-2-types.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-1-0_raii.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/01-2-2-0_print_display2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/01-1-0_comment.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/03-2-0_enum.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/02-1-0_literals.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-2-1-0_mut.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/01-2-0_print.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/04-0_variable_bindings.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/01-2-3-0_fmt.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/05-2-0_literals.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/09-2-0_closures.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-3_methods.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-4_struct.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-6_lifetime_bounds.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/09-2-3-0_anonymity.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/07-0_expression.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-7-0_new_types.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-5_0_multi_bounds.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/09-2-4-0_input_functions.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/01-2-2-0_print_display1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-3-0_borrow.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/09-2-2-0_input_parameters.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/09-2-5-0_output_parameters.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/01-2-2-1_0_testcase_list.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-3-1-0_mut.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/10-1-0_visibility.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-3-2-0_alias.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-9-0_phantom.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/15-4-7_coercion.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/03-2-3-0_testcate_linked_list.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/02-0_primitives.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-8-1-0_the_problem.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-3-0_gen_trait.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/03-1-0_structs.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/04-3-0_declare.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/04-2-0_scope.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/14-1-0_gen_fn.rs from 2018 edition to 2021 [INFO] [stdout] warning: struct is never constructed: `UnPrintable` [INFO] [stdout] --> src/bin/01-2-1-0_print_debug.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct UnPrintable(i32); // -> printデバッグできない [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/bin/14-2-0_impl.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct S; // 具象型`S` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GenericVal` [INFO] [stdout] --> src/bin/14-2-0_impl.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct GenericVal(T); // ジェネリック型`GenericVal` [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UnPrintable` [INFO] [stdout] --> src/bin/01-2-1-0_print_debug.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct UnPrintable(i32); // -> printデバッグできない [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `printer` [INFO] [stdout] --> src/bin/14-4-0_bounds.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn printer(t: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `contains` has an incompatible type for trait [INFO] [stdout] --> src/bin/14-8-2-types.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn contains(&self, _: Self::A, _: &Self::B) -> bool; [INFO] [stdout] | ------- type in trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn contains(&self, number_1: &i32, number_2: &i32) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `i32`, found `&i32` [INFO] [stdout] | help: change the parameter type to match the trait: `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Container, i32, &i32) -> _` [INFO] [stdout] found fn pointer `fn(&Container, &i32, &i32) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/14-8-2-types.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | container.contains(&number_1, &number_2) [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 50 - container.contains(&number_1, &number_2) [INFO] [stdout] 50 + container.contains(number_1, &number_2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_by_example` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/bin/03-2-0_enum.rs (1 fix) [INFO] [stdout] warning: variant is never constructed: `Subtract` [INFO] [stdout] --> src/bin/03-2-0_enum.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/bin/03-2-0_enum.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | fn run(&self, x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/bin/14-2-0_impl.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct S; // 具象型`S` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GenericVal` [INFO] [stdout] --> src/bin/14-2-0_impl.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct GenericVal(T); // ジェネリック型`GenericVal` [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/04-0_variable_bindings.rs (1 fix) [INFO] [stdout] warning: function is never used: `printer` [INFO] [stdout] --> src/bin/14-4-0_bounds.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn printer(t: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `contains` has an incompatible type for trait [INFO] [stdout] --> src/bin/14-8-2-types.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn contains(&self, _: Self::A, _: &Self::B) -> bool; [INFO] [stdout] | ------- type in trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn contains(&self, number_1: &i32, number_2: &i32) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `i32`, found `&i32` [INFO] [stdout] | help: change the parameter type to match the trait: `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Container, i32, &i32) -> _` [INFO] [stdout] found fn pointer `fn(&Container, &i32, &i32) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/14-8-2-types.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | container.contains(&number_1, &number_2) [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `&i32` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 50 - container.contains(&number_1, &number_2) [INFO] [stdout] 50 + container.contains(number_1, &number_2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] Fixed src/bin/07-0_expression.rs (2 fixes) [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/bin/07-0_expression.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | x; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtract` [INFO] [stdout] --> src/bin/03-2-0_enum.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/bin/03-2-0_enum.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | fn run(&self, x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `de` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | #[allow(de)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | 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: `indirect_access` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:15:10 [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/bin/10-1-0_visibility.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_my_mod` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub(in crate::my_mod) fn public_function_in_my_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_nested` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub(self) fn public_function_in_nested() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_super_mod` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | 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/bin/10-1-0_visibility.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | 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/bin/10-1-0_visibility.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn public_function_in_crate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `restricted_function` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn restricted_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `integer` in this scope [INFO] [stdout] --> src/bin/02-0_primitives.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let default = integer = 7; // i32 [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `de` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | #[allow(de)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | 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: `indirect_access` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:15:10 [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/bin/10-1-0_visibility.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_my_mod` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub(in crate::my_mod) fn public_function_in_my_mod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_nested` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub(self) fn public_function_in_nested() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_super_mod` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | 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/bin/10-1-0_visibility.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | 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/bin/10-1-0_visibility.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn public_function_in_crate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `restricted_function` [INFO] [stdout] --> src/bin/10-1-0_visibility.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn restricted_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/bin/07-0_expression.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | x; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/04-2-0_scope.rs (1 fix) [INFO] [stdout] error[E0425]: cannot find value `integer` in this scope [INFO] [stdout] --> src/bin/02-0_primitives.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let default = integer = 7; // i32 [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "aca0f03fab21fecaff3d41bc58513e769b6b784fecc7b014ae6945a06bcc698e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca0f03fab21fecaff3d41bc58513e769b6b784fecc7b014ae6945a06bcc698e", kill_on_drop: false }` [INFO] [stdout] aca0f03fab21fecaff3d41bc58513e769b6b784fecc7b014ae6945a06bcc698e