[INFO] cloning repository https://github.com/MechWipf/browser-launcher-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MechWipf/browser-launcher-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechWipf%2Fbrowser-launcher-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechWipf%2Fbrowser-launcher-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e78a7d2ad4f766a0c0c459c0b0397fed95adf65d [INFO] checking MechWipf/browser-launcher-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechWipf%2Fbrowser-launcher-rs" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MechWipf/browser-launcher-rs 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/MechWipf/browser-launcher-rs [INFO] finished tweaking git repo https://github.com/MechWipf/browser-launcher-rs [INFO] tweaked toml for git repo https://github.com/MechWipf/browser-launcher-rs written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate git repo https://github.com/MechWipf/browser-launcher-rs 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] Downloading crates ... [INFO] [stderr] Downloaded log4rs v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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] 0c814454705b1005f7d48615bd89ce6fbf1c3466c1c8cdefa383b7bcf9d29953 [INFO] running `Command { std: "docker" "start" "-a" "0c814454705b1005f7d48615bd89ce6fbf1c3466c1c8cdefa383b7bcf9d29953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c814454705b1005f7d48615bd89ce6fbf1c3466c1c8cdefa383b7bcf9d29953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c814454705b1005f7d48615bd89ce6fbf1c3466c1c8cdefa383b7bcf9d29953", kill_on_drop: false }` [INFO] [stdout] 0c814454705b1005f7d48615bd89ce6fbf1c3466c1c8cdefa383b7bcf9d29953 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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] 970f6e56df0446ec13e37b760aecada1d8361c71726d07cb6c5dd1a713cc9b64 [INFO] running `Command { std: "docker" "start" "-a" "970f6e56df0446ec13e37b760aecada1d8361c71726d07cb6c5dd1a713cc9b64", 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] winapi v0.3.9: errhandlingapi, ntdef, ntstatus, processenv, processthreadsapi, profileapi, std, sysinfoapi, winbase, wincon [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling browser_launcher v1.0.0 (/tmp/fixit) [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stdout] error[E0601]: `main` function not found in crate `build_script_build` [INFO] [stdout] --> build.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[cfg(windows)] [INFO] [stdout] 2 | | extern crate winres; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | #[cfg(windows)] [INFO] [stdout] ... | [INFO] [stdout] 7 | | res.compile().unwrap(); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `build.rs` [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 E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `browser_launcher` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "970f6e56df0446ec13e37b760aecada1d8361c71726d07cb6c5dd1a713cc9b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970f6e56df0446ec13e37b760aecada1d8361c71726d07cb6c5dd1a713cc9b64", kill_on_drop: false }` [INFO] [stdout] 970f6e56df0446ec13e37b760aecada1d8361c71726d07cb6c5dd1a713cc9b64