[INFO] cloning repository https://github.com/mtkennerly/shawl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtkennerly/shawl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtkennerly%2Fshawl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtkennerly%2Fshawl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0707e7cada4b9da66dbd1f6001a6cfa9db6b2441 [INFO] checking mtkennerly/shawl against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtkennerly%2Fshawl" "/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/mtkennerly/shawl 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] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/mtkennerly/shawl [INFO] finished tweaking git repo https://github.com/mtkennerly/shawl [INFO] tweaked toml for git repo https://github.com/mtkennerly/shawl written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mtkennerly/shawl 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] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.22 [INFO] [stderr] Downloaded flexi_logger v0.15.12 [INFO] [stderr] Downloaded windows-service v0.3.1 [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] [stderr] Downloaded thiserror v1.0.22 [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] 4f4e5a7208d61e8059e735b8a50dcef92e4c8098f863bb33f4b9a617e7f8e1cf [INFO] running `Command { std: "docker" "start" "-a" "4f4e5a7208d61e8059e735b8a50dcef92e4c8098f863bb33f4b9a617e7f8e1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f4e5a7208d61e8059e735b8a50dcef92e4c8098f863bb33f4b9a617e7f8e1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4e5a7208d61e8059e735b8a50dcef92e4c8098f863bb33f4b9a617e7f8e1cf", kill_on_drop: false }` [INFO] [stdout] 4f4e5a7208d61e8059e735b8a50dcef92e4c8098f863bb33f4b9a617e7f8e1cf [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] 141c215fe63bdf9dcb36f603fd343c91197a8c4c2ca388df6e0f03a5f090a636 [INFO] running `Command { std: "docker" "start" "-a" "141c215fe63bdf9dcb36f603fd343c91197a8c4c2ca388df6e0f03a5f090a636", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.55 (as host dependency): extra-traits, visit [INFO] [stderr] winapi v0.3.9: consoleapi, dbt, errhandlingapi, handleapi, minwinbase, minwindef, ntdef, processenv, profileapi, std, synchapi, sysinfoapi, timezoneapi, winbase, winerror, winsvc [INFO] [stderr] [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking windows-service v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking flexi_logger v0.15.12 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking shawl v1.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/shawl-child.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/integration.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: function is never used: `prepare_logging` [INFO] [stdout] --> src/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn prepare_logging(name: &str, console: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_service` [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn add_service(name: String, cwd: Option, opts: CommonOpts) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `should_restart_exited_command` [INFO] [stdout] --> src/main.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn should_restart_exited_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `should_restart_terminated_command` [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn should_restart_terminated_command(restart: bool, _no_restart: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `construct_shawl_run_args` [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn construct_shawl_run_args(name: &str, cwd: &Option, opts: &CommonOpts) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prepare_command` [INFO] [stdout] --> src/main.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn prepare_command(command: &[String]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quote` [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn quote(text: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ProcessStatus` [INFO] [stdout] --> src/main.rs:309:6 [INFO] [stdout] | [INFO] [stdout] 309 | enum ProcessStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_process` [INFO] [stdout] --> src/main.rs:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | fn check_process( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:637:18 [INFO] [stdout] | [INFO] [stdout] 98 | struct Cli { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 637 | Cli::from_clap(&Cli::clap().get_matches_from(args)) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Cli` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use structopt::StructOpt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:637:34 [INFO] [stdout] | [INFO] [stdout] 98 | struct Cli { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 637 | Cli::from_clap(&Cli::clap().get_matches_from(args)) [INFO] [stdout] | ^^^^ function or associated item not found in `Cli` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use structopt::StructOpt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:642:27 [INFO] [stdout] | [INFO] [stdout] 98 | struct Cli { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 642 | let result = Cli::clap().get_matches_from_safe(args); [INFO] [stdout] | ^^^^ function or associated item not found in `Cli` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use structopt::StructOpt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shawl` due to 4 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [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" "141c215fe63bdf9dcb36f603fd343c91197a8c4c2ca388df6e0f03a5f090a636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "141c215fe63bdf9dcb36f603fd343c91197a8c4c2ca388df6e0f03a5f090a636", kill_on_drop: false }` [INFO] [stdout] 141c215fe63bdf9dcb36f603fd343c91197a8c4c2ca388df6e0f03a5f090a636