[INFO] cloning repository https://github.com/lukehsiao/talk-timer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukehsiao/talk-timer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukehsiao%2Ftalk-timer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukehsiao%2Ftalk-timer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34f21e9e4ee6bdc5f3e08490805b0978073e5f62 [INFO] checking lukehsiao/talk-timer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukehsiao%2Ftalk-timer" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lukehsiao/talk-timer 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/lukehsiao/talk-timer [INFO] finished tweaking git repo https://github.com/lukehsiao/talk-timer [INFO] tweaked toml for git repo https://github.com/lukehsiao/talk-timer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/lukehsiao/talk-timer 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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 36f17e9efae30fb01c29cb9460d3c93b4bf8bd3915c26192c0803668858d817f [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" "36f17e9efae30fb01c29cb9460d3c93b4bf8bd3915c26192c0803668858d817f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36f17e9efae30fb01c29cb9460d3c93b4bf8bd3915c26192c0803668858d817f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f17e9efae30fb01c29cb9460d3c93b4bf8bd3915c26192c0803668858d817f", kill_on_drop: false }` [INFO] [stdout] 36f17e9efae30fb01c29cb9460d3c93b4bf8bd3915c26192c0803668858d817f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] ec6ddc18e3d85ad1bf81285a389247d6231fb3af956ffbbe8e52561c7824081a [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" "ec6ddc18e3d85ad1bf81285a389247d6231fb3af956ffbbe8e52561c7824081a", 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 yansi v0.5.0 [INFO] [stderr] Checking pico-args v0.4.0 [INFO] [stderr] Checking talk-timer v0.1.1-alpha.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/main.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | let duration = >::try_from("30s").unwrap(); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/main.rs:209:37 [INFO] [stdout] | [INFO] [stdout] 209 | let duration = >::try_from("20M").unwrap(); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/main.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | let duration = >::try_from("2h").unwrap(); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/main.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | let duration = >::try_from("2k"); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/main.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | let duration = >::try_from("somethingh"); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `talk-timer` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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(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 = >::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: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] = 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: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: 8 warnings emitted [INFO] [stdout] [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" "ec6ddc18e3d85ad1bf81285a389247d6231fb3af956ffbbe8e52561c7824081a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6ddc18e3d85ad1bf81285a389247d6231fb3af956ffbbe8e52561c7824081a", kill_on_drop: false }` [INFO] [stdout] ec6ddc18e3d85ad1bf81285a389247d6231fb3af956ffbbe8e52561c7824081a