[INFO] fetching crate simple_config 0.51.0... [INFO] checking simple_config-0.51.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate simple_config 0.51.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate simple_config 0.51.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 simple_config 0.51.0 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate simple_config 0.51.0 [INFO] tweaked toml for crates.io crate simple_config 0.51.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate simple_config 0.51.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] Downloading crates ... [INFO] [stderr] Downloaded humantime-serde v1.0.1 [INFO] [stderr] Downloaded serde_yaml v0.8.18 [INFO] [stderr] Downloaded buffered-reader v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 2535e277c30fadeccc11df1447f5f0093011f377e678714a938998d6f60b6731 [INFO] running `Command { std: "docker" "start" "-a" "2535e277c30fadeccc11df1447f5f0093011f377e678714a938998d6f60b6731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2535e277c30fadeccc11df1447f5f0093011f377e678714a938998d6f60b6731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2535e277c30fadeccc11df1447f5f0093011f377e678714a938998d6f60b6731", kill_on_drop: false }` [INFO] [stdout] 2535e277c30fadeccc11df1447f5f0093011f377e678714a938998d6f60b6731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 0db2d34d1cd9650dea1a1ba91dec0ae63a77d6fee0f34a9b3719c33f6ef0d1d0 [INFO] running `Command { std: "docker" "start" "-a" "0db2d34d1cd9650dea1a1ba91dec0ae63a77d6fee0f34a9b3719c33f6ef0d1d0", 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] serde v1.0.127: derive, serde_derive [INFO] [stderr] syn v1.0.74 (as host dependency): extra-traits, full [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking buffered-reader v1.0.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking serde_with v1.9.4 [INFO] [stderr] Checking serde_yaml v0.8.18 [INFO] [stderr] Checking humantime-serde v1.0.1 [INFO] [stderr] Checking simple_config v0.51.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/github-workflow/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/gitlab-ci/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0601]: `main` function not found in crate `github_workflow` [INFO] [stdout] --> examples/github-workflow/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[derive(Debug,PartialEq,serde_derive::Deserialize)] [INFO] [stdout] 2 | | struct Workflow { [INFO] [stdout] 3 | | name: String, [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 84 | | test("nixpkgs/pending-set") [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/github-workflow/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_config` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `gitlab_ci` [INFO] [stdout] --> examples/gitlab-ci/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[derive(Debug,PartialEq,serde_derive::Deserialize)] [INFO] [stdout] 2 | | struct GitlabCi { [INFO] [stdout] 3 | | variables: std::collections::BTreeMap, [INFO] [stdout] 4 | | cache: Cache, [INFO] [stdout] ... | [INFO] [stdout] 62 | | assert_eq!(scfg, yaml); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/gitlab-ci/main.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: 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" "0db2d34d1cd9650dea1a1ba91dec0ae63a77d6fee0f34a9b3719c33f6ef0d1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db2d34d1cd9650dea1a1ba91dec0ae63a77d6fee0f34a9b3719c33f6ef0d1d0", kill_on_drop: false }` [INFO] [stdout] 0db2d34d1cd9650dea1a1ba91dec0ae63a77d6fee0f34a9b3719c33f6ef0d1d0