[INFO] fetching crate talk-timer 0.1.0... [INFO] checking talk-timer-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate talk-timer 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate talk-timer 0.1.0 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 crates.io crate talk-timer 0.1.0 [INFO] finished tweaking crates.io crate talk-timer 0.1.0 [INFO] tweaked toml for crates.io crate talk-timer 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate talk-timer 0.1.0 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] 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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1f64245ab5929523ee61a972d2a2f853f2aa70b42b65d86bad4ec32d90abbbb [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" "e1f64245ab5929523ee61a972d2a2f853f2aa70b42b65d86bad4ec32d90abbbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1f64245ab5929523ee61a972d2a2f853f2aa70b42b65d86bad4ec32d90abbbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f64245ab5929523ee61a972d2a2f853f2aa70b42b65d86bad4ec32d90abbbb", kill_on_drop: false }` [INFO] [stdout] e1f64245ab5929523ee61a972d2a2f853f2aa70b42b65d86bad4ec32d90abbbb [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=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] 3dca1f6d96ca6a2b424973b9e48072f8e03e76357bdf012f0d37c8cdd48f5040 [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" "3dca1f6d96ca6a2b424973b9e48072f8e03e76357bdf012f0d37c8cdd48f5040", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking pico-args v0.4.0 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking talk-timer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `talk_timer` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/main.rs:203:37 [INFO] [stderr] | [INFO] [stderr] 203 | let duration = >::try_from("30s").unwrap(); [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/main.rs:209:37 [INFO] [stderr] | [INFO] [stderr] 209 | let duration = >::try_from("20M").unwrap(); [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/main.rs:215:37 [INFO] [stderr] | [INFO] [stderr] 215 | let duration = >::try_from("2h").unwrap(); [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/main.rs:221:37 [INFO] [stderr] | [INFO] [stderr] 221 | let duration = >::try_from("2k"); [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/main.rs:227:37 [INFO] [stderr] | [INFO] [stderr] 227 | let duration = >::try_from("somethingh"); [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] warning: allow(dead_code) incompatible with previous forbid [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] error: unused import: `super::*` [INFO] [stderr] --> src/main.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | #![forbid(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[forbid(unused_imports)]` implied by `#[forbid(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: allow(dead_code) incompatible with previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/main.rs:181:20 [INFO] [stderr] | [INFO] [stderr] 2 | #![forbid(warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 181 | let duration = >::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/main.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 2 | #![forbid(warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` 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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/main.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 2 | #![forbid(warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` 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: allow(dead_code) incompatible with previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` 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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(dead_code) incompatible with previous forbid [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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/main.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 2 | #![forbid(warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` 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-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | let duration = Duration::try_from("30s").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [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] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | let duration = Duration::try_from("20M").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [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] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | let duration = Duration::try_from("2h").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [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] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | let duration = Duration::try_from("2k"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [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] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | let duration = Duration::try_from("somethingh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [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] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.96s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking talk-timer v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: allow(dead_code) incompatible with previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` 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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(dead_code) incompatible with previous forbid [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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/main.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 2 | #![forbid(warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [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 #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Duration` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn try_from(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = TryFrom::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = std::convert::TryFrom::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [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 E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = Duration::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `std::time::Duration` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn try_from(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = TryFrom::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 181 | let duration = std::convert::TryFrom::try_from(&dur_str)? + Duration::from_secs(1); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:203:34 [INFO] [stdout] | [INFO] [stdout] 203 | let duration = Duration::try_from("30s").unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `std::time::Duration` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn try_from(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 203 | let duration = TryFrom::try_from("30s").unwrap(); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 203 | let duration = std::convert::TryFrom::try_from("30s").unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | let duration = Duration::try_from("20M").unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `std::time::Duration` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn try_from(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 209 | let duration = TryFrom::try_from("20M").unwrap(); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 209 | let duration = std::convert::TryFrom::try_from("20M").unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `talk-timer` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | let duration = Duration::try_from("2h").unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `std::time::Duration` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn try_from(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 215 | let duration = TryFrom::try_from("2h").unwrap(); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 215 | let duration = std::convert::TryFrom::try_from("2h").unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | let duration = Duration::try_from("2k"); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `std::time::Duration` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn try_from(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 221 | let duration = TryFrom::try_from("2k"); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 221 | let duration = std::convert::TryFrom::try_from("2k"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | let duration = Duration::try_from("somethingh"); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `std::time::Duration` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn try_from(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 227 | let duration = TryFrom::try_from("somethingh"); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 227 | let duration = std::convert::TryFrom::try_from("somethingh"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3dca1f6d96ca6a2b424973b9e48072f8e03e76357bdf012f0d37c8cdd48f5040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dca1f6d96ca6a2b424973b9e48072f8e03e76357bdf012f0d37c8cdd48f5040", kill_on_drop: false }` [INFO] [stdout] 3dca1f6d96ca6a2b424973b9e48072f8e03e76357bdf012f0d37c8cdd48f5040