[INFO] cloning repository https://github.com/compiler-errors/adelaide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/compiler-errors/adelaide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42d00fcf7d638d018593aa60456129bb51aea53a [INFO] checking compiler-errors/adelaide against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compiler-errors/adelaide 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/compiler-errors/adelaide [INFO] finished tweaking git repo https://github.com/compiler-errors/adelaide [INFO] tweaked toml for git repo https://github.com/compiler-errors/adelaide written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/compiler-errors/adelaide 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-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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] fe36814f22e960851f8f8060f4176383d9c728b92b2c7c4d1a9fd8ab24423209 [INFO] running `Command { std: "docker" "start" "-a" "fe36814f22e960851f8f8060f4176383d9c728b92b2c7c4d1a9fd8ab24423209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe36814f22e960851f8f8060f4176383d9c728b92b2c7c4d1a9fd8ab24423209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe36814f22e960851f8f8060f4176383d9c728b92b2c7c4d1a9fd8ab24423209", kill_on_drop: false }` [INFO] [stdout] fe36814f22e960851f8f8060f4176383d9c728b92b2c7c4d1a9fd8ab24423209 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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] 7c4e432d49ed72d7a3efdfe7f4c5848ba08190ce5bd39a8fcc9adc720afbf8cb [INFO] running `Command { std: "docker" "start" "-a" "7c4e432d49ed72d7a3efdfe7f4c5848ba08190ce5bd39a8fcc9adc720afbf8cb", 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] either v1.6.1 (as host dependency): default, use_std [INFO] [stderr] log v0.4.11 (as host dependency): std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling lalrpop-util v0.18.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking bumpalo v3.4.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking ascii-canvas v2.0.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling calmio_filters v0.1.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling salsa-macros v0.15.2 [INFO] [stderr] Compiling proc v0.1.0 (/tmp/fixit/proc) [INFO] [stderr] Checking calm_io v0.1.1 [INFO] [stderr] Checking salsa v0.15.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking lalrpop v0.18.1 [INFO] [stderr] Compiling adelaide v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/translate/mod.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(self.alloc.alloc_with(|| CProgram { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 116 | main: CFunctionId::Function(main, &[]), [INFO] [stdout] 117 | functions: self [INFO] [stdout] | ________________________- [INFO] [stdout] 118 | | .functions [INFO] [stdout] | |__________________________- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.functions` [INFO] [stdout] ... [INFO] [stdout] 122 | globals: self [INFO] [stdout] | ______________________- [INFO] [stdout] 123 | | .globals [INFO] [stdout] | |________________________- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.globals` [INFO] [stdout] ... [INFO] [stdout] 127 | type_strings: self.type_strings, [INFO] [stdout] | ----------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.type_strings` [INFO] [stdout] 128 | type_ids: self.type_ids, [INFO] [stdout] | ------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.type_ids` [INFO] [stdout] 129 | })) [INFO] [stdout] 130 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.functions` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.globals` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.type_strings` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.type_ids` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `self` to be fully captured [INFO] [stdout] | [INFO] [stdout] 115 ~ Ok(self.alloc.alloc_with(|| { let _ = &self; CProgram { [INFO] [stdout] 116 | main: CFunctionId::Function(main, &[]), [INFO] [stdout] 117 | functions: self [INFO] [stdout] 118 | .functions [INFO] [stdout] 119 | .into_iter() [INFO] [stdout] 120 | .map(|(id, f)| (id, f.unwrap())) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ResumeAfterComplete` [INFO] [stdout] --> src/interpret/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | ResumeAfterComplete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oof` [INFO] [stdout] --> src/interpret/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Oof(Span), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_unwrap_none` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(option_unwrap_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adelaide` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/translate/mod.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(self.alloc.alloc_with(|| CProgram { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 116 | main: CFunctionId::Function(main, &[]), [INFO] [stdout] 117 | functions: self [INFO] [stdout] | ________________________- [INFO] [stdout] 118 | | .functions [INFO] [stdout] | |__________________________- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.functions` [INFO] [stdout] ... [INFO] [stdout] 122 | globals: self [INFO] [stdout] | ______________________- [INFO] [stdout] 123 | | .globals [INFO] [stdout] | |________________________- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.globals` [INFO] [stdout] ... [INFO] [stdout] 127 | type_strings: self.type_strings, [INFO] [stdout] | ----------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.type_strings` [INFO] [stdout] 128 | type_ids: self.type_ids, [INFO] [stdout] | ------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.type_ids` [INFO] [stdout] 129 | })) [INFO] [stdout] 130 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.functions` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.globals` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.type_strings` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.type_ids` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `self` to be fully captured [INFO] [stdout] | [INFO] [stdout] 115 ~ Ok(self.alloc.alloc_with(|| { let _ = &self; CProgram { [INFO] [stdout] 116 | main: CFunctionId::Function(main, &[]), [INFO] [stdout] 117 | functions: self [INFO] [stdout] 118 | .functions [INFO] [stdout] 119 | .into_iter() [INFO] [stdout] 120 | .map(|(id, f)| (id, f.unwrap())) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ResumeAfterComplete` [INFO] [stdout] --> src/interpret/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | ResumeAfterComplete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oof` [INFO] [stdout] --> src/interpret/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Oof(Span), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_unwrap_none` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(option_unwrap_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [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" "7c4e432d49ed72d7a3efdfe7f4c5848ba08190ce5bd39a8fcc9adc720afbf8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4e432d49ed72d7a3efdfe7f4c5848ba08190ce5bd39a8fcc9adc720afbf8cb", kill_on_drop: false }` [INFO] [stdout] 7c4e432d49ed72d7a3efdfe7f4c5848ba08190ce5bd39a8fcc9adc720afbf8cb