[INFO] fetching crate shawl 1.0.0... [INFO] checking shawl-1.0.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate shawl 1.0.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate shawl 1.0.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] removed /workspace/builds/worker-10/source/.cargo/config [INFO] started tweaking crates.io crate shawl 1.0.0 [INFO] finished tweaking crates.io crate shawl 1.0.0 [INFO] tweaked toml for crates.io crate shawl 1.0.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate shawl 1.0.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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6bd4876ccbd0c3ed10e0b46a1076adb3fcf5dc77d33039f5083145a3d7c9e7d5 [INFO] running `Command { std: "docker" "start" "-a" "6bd4876ccbd0c3ed10e0b46a1076adb3fcf5dc77d33039f5083145a3d7c9e7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bd4876ccbd0c3ed10e0b46a1076adb3fcf5dc77d33039f5083145a3d7c9e7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd4876ccbd0c3ed10e0b46a1076adb3fcf5dc77d33039f5083145a3d7c9e7d5", kill_on_drop: false }` [INFO] [stdout] 6bd4876ccbd0c3ed10e0b46a1076adb3fcf5dc77d33039f5083145a3d7c9e7d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 823fa8ea3fbd626d5195088e17b56899704e0a4c6da5763e5df09a166af8e16f [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" "823fa8ea3fbd626d5195088e17b56899704e0a4c6da5763e5df09a166af8e16f", 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] 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 proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking ansi_term v0.11.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] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Compiling speculate v0.1.2 [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/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/integration.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/shawl-child.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] [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: could not compile `shawl` due to 4 previous errors [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" "823fa8ea3fbd626d5195088e17b56899704e0a4c6da5763e5df09a166af8e16f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823fa8ea3fbd626d5195088e17b56899704e0a4c6da5763e5df09a166af8e16f", kill_on_drop: false }` [INFO] [stdout] 823fa8ea3fbd626d5195088e17b56899704e0a4c6da5763e5df09a166af8e16f