[INFO] cloning repository https://github.com/syuni/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/syuni/rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyuni%2Frust-by-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyuni%2Frust-by-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3f4cf9a5219e47165d823446a761a963ce48beb [INFO] checking syuni/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%2Fsyuni%2Frust-by-example" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syuni/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/syuni/rust-by-example [INFO] finished tweaking git repo https://github.com/syuni/rust-by-example [INFO] tweaked toml for git repo https://github.com/syuni/rust-by-example written to /workspace/builds/worker-56/source/Cargo.toml [INFO] crate git repo https://github.com/syuni/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] warning: file found to be present in multiple build targets: /workspace/builds/worker-56/source/src/8_2_4.rs [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-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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] fcbae613c18a5ff3bc9bbf371a950421914c793ae4fc6e6d8aad8d6342255db9 [INFO] running `Command { std: "docker" "start" "-a" "fcbae613c18a5ff3bc9bbf371a950421914c793ae4fc6e6d8aad8d6342255db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcbae613c18a5ff3bc9bbf371a950421914c793ae4fc6e6d8aad8d6342255db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcbae613c18a5ff3bc9bbf371a950421914c793ae4fc6e6d8aad8d6342255db9", kill_on_drop: false }` [INFO] [stdout] fcbae613c18a5ff3bc9bbf371a950421914c793ae4fc6e6d8aad8d6342255db9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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] a08adfe7d95dbf3da2fe3df769a27a3589e7fcedfb52fd1a9a1451c8cbf3c5f4 [INFO] running `Command { std: "docker" "start" "-a" "a08adfe7d95dbf3da2fe3df769a27a3589e7fcedfb52fd1a9a1451c8cbf3c5f4", 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] warning: file found to be present in multiple build targets: /tmp/fixit/src/8_2_4.rs [INFO] [stderr] Checking rust-by-example v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/13_7_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8_2_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/9_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/15_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_6.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_4_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/9.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_5_1_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_7_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_3_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/19_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_7.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_2_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8_2_6_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8_2_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_4_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_4_7.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_4_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/13_6.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_7_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/13_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/1_2_2_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_10.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_7.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/9_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/13_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/15_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/19_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/1_2_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/5_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_5_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8_2_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/9_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_5_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_8.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_4_2.rs from 2018 edition to 2021 [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/13_7_1.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn contains(&self, &A, &B) -> bool; // `A`と`B`の両方を明示的に要求する [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 6 | fn contains(&self, A: &TypeName, &B) -> bool; // `A`と`B`の両方を明示的に要求する [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 6 | fn contains(&self, _: &A, &B) -> bool; // `A`と`B`の両方を明示的に要求する [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/7_5_3.rs from 2018 edition to 2021 [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/13_7_1.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | fn contains(&self, &A, &B) -> bool; // `A`と`B`の両方を明示的に要求する [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 6 | fn contains(&self, &A, B: &TypeName) -> bool; // `A`と`B`の両方を明示的に要求する [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 6 | fn contains(&self, &A, _: &B) -> bool; // `A`と`B`の両方を明示的に要求する [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/16_7_1.rs from 2018 edition to 2021 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/14_4_3.rs from 2018 edition to 2021 [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] Migrating src/7_5_1_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_3_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/4_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/15_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/15.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/13_7_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_6.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_4_8.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_2_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/10_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/6.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_4_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8_2_6_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/13_4_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/15_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_7_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/4_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_4_6.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_4_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_5_1_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/15_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/10_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/18_5_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/13_8.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/4_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/7_4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_7.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/10_5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_5_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/16_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/14_3_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/8.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/5_2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/12_3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/17_7_2.rs from 2018 edition to 2021 [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/9.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | println!("Hello!"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 12 | say_hello!() [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` 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 #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `say_hello` [INFO] [stdout] = note: this warning originates in the macro `say_hello` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/17_1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/17_1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/8_2_6_2.rs (1 fix) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/18_4_1.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 14 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [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/18_4_1.rs:21:68 [INFO] [stdout] | [INFO] [stdout] 21 | Err(why) => panic!("couldn't read {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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/18_4_2.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 20 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [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/18_4_2.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | Error::description(&why) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot pass `self` by raw pointer [INFO] [stdout] --> src/16_10.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(*self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^ cannot pass `self` by raw pointer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/16_10.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/16_10.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(*self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/16_10.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(*self) -> Option<&error::Error> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(*self) -> Option<&'static error::Error> { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/18_4_1.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 14 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [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/18_4_1.rs:21:68 [INFO] [stdout] | [INFO] [stdout] 21 | Err(why) => panic!("couldn't read {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/17_1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/17_1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stdout] --> src/13_7_2.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn contains(&self, &Self::A, &Self::B) -> bool; [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 10 | fn contains(&self, _: &Self::A, &Self::B) -> bool; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)` [INFO] [stdout] --> src/13_7_2.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | fn contains(&self, &Self::A, &Self::B) -> bool; [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 10 | fn contains(&self, &Self::A, _: &Self::B) -> bool; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/18_3.rs (1 fix) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/7_2_1.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 'inner: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/10_4.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn function() { [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] [stderr] Fixed src/6.rs (1 fix) [INFO] [stderr] Fixed src/8_2_6_1.rs (1 fix) [INFO] [stdout] error: expected type, found `}` [INFO] [stdout] --> src/14_4_6.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{} is the first", choose_first(&first, &second)): [INFO] [stdout] | - help: try using a semicolon: `;` [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ expected type [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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/18_5_1.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | Err(why) => panic!("couldn't spawn wc: {}", Error::description(&why)), [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/18_5_1.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | Err(why) => panic!("couldn't write to wc stdin: {}", Error::description(&why)), [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/18_5_1.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | Err(why) => panic!("couldn't read wc stdout: {}", Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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/18_5_1.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | Err(why) => panic!("couldn't spawn wc: {}", Error::description(&why)), [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/18_5_1.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | Err(why) => panic!("couldn't write to wc stdin: {}", Error::description(&why)), [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/18_5_1.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | Err(why) => panic!("couldn't read wc stdout: {}", Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/17_5_1.rs (1 fix) [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" "a08adfe7d95dbf3da2fe3df769a27a3589e7fcedfb52fd1a9a1451c8cbf3c5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08adfe7d95dbf3da2fe3df769a27a3589e7fcedfb52fd1a9a1451c8cbf3c5f4", kill_on_drop: false }` [INFO] [stdout] a08adfe7d95dbf3da2fe3df769a27a3589e7fcedfb52fd1a9a1451c8cbf3c5f4