[INFO] cloning repository https://github.com/pitust/sasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pitust/sasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitust%2Fsasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitust%2Fsasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ca6f087e719619a8ce95533dccc4d5f25298129 [INFO] checking pitust/sasm against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitust%2Fsasm" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pitust/sasm 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/pitust/sasm [INFO] finished tweaking git repo https://github.com/pitust/sasm [INFO] tweaked toml for git repo https://github.com/pitust/sasm written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/pitust/sasm 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 once_cell v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 57aa20c266ffb4afa78bb1910be77b77767686c08a036797f806a22fc7fedf8c [INFO] running `Command { std: "docker" "start" "-a" "57aa20c266ffb4afa78bb1910be77b77767686c08a036797f806a22fc7fedf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57aa20c266ffb4afa78bb1910be77b77767686c08a036797f806a22fc7fedf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57aa20c266ffb4afa78bb1910be77b77767686c08a036797f806a22fc7fedf8c", kill_on_drop: false }` [INFO] [stdout] 57aa20c266ffb4afa78bb1910be77b77767686c08a036797f806a22fc7fedf8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 4f1addf060dae7ace24935bea8faf4f45830da500b4f164f8189067eed578e6f [INFO] running `Command { std: "docker" "start" "-a" "4f1addf060dae7ace24935bea8faf4f45830da500b4f164f8189067eed578e6f", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking sasm v1.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | .expect_none("Symbols clashed"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | .expect_none("Symbols clashed"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | box move |a| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | let mut r = r.0(a); [INFO] [stdout] | --- in Rust 2018, this closure captures all of `r`, but in Rust 2021, it will only capture `r.0` [INFO] [stdout] 90 | let l = l.0(a); [INFO] [stdout] | --- in Rust 2018, this closure captures all of `l`, but in Rust 2021, it will only capture `l.0` [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `r` is dropped here, but in Rust 2021, only `r.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `l` is dropped here, but in Rust 2021, only `l.0` 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 `r`, `l` to be fully captured [INFO] [stdout] | [INFO] [stdout] 88 ~ box move |a| { [INFO] [stdout] 89 + let _ = (&r, &l); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:1198:21 [INFO] [stdout] | [INFO] [stdout] 1198 | box move |symbols| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1199 | let left = lhs.0(symbols); [INFO] [stdout] | ----- in Rust 2018, this closure captures all of `lhs`, but in Rust 2021, it will only capture `lhs.0` [INFO] [stdout] 1200 | let right = rhs.0(symbols); [INFO] [stdout] | ----- in Rust 2018, this closure captures all of `rhs`, but in Rust 2021, it will only capture `rhs.0` [INFO] [stdout] ... [INFO] [stdout] 1227 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `lhs` is dropped here, but in Rust 2021, only `lhs.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `rhs` is dropped here, but in Rust 2021, only `rhs.0` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `lhs`, `rhs` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1198 ~ box move |symbols| { [INFO] [stdout] 1199 + let _ = (&lhs, &rhs); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sasm` due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | .expect_none("Symbols clashed"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | .expect_none("Symbols clashed"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | box move |a| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | let mut r = r.0(a); [INFO] [stdout] | --- in Rust 2018, this closure captures all of `r`, but in Rust 2021, it will only capture `r.0` [INFO] [stdout] 90 | let l = l.0(a); [INFO] [stdout] | --- in Rust 2018, this closure captures all of `l`, but in Rust 2021, it will only capture `l.0` [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `r` is dropped here, but in Rust 2021, only `r.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `l` is dropped here, but in Rust 2021, only `l.0` 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 `r`, `l` to be fully captured [INFO] [stdout] | [INFO] [stdout] 88 ~ box move |a| { [INFO] [stdout] 89 + let _ = (&r, &l); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:1198:21 [INFO] [stdout] | [INFO] [stdout] 1198 | box move |symbols| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1199 | let left = lhs.0(symbols); [INFO] [stdout] | ----- in Rust 2018, this closure captures all of `lhs`, but in Rust 2021, it will only capture `lhs.0` [INFO] [stdout] 1200 | let right = rhs.0(symbols); [INFO] [stdout] | ----- in Rust 2018, this closure captures all of `rhs`, but in Rust 2021, it will only capture `rhs.0` [INFO] [stdout] ... [INFO] [stdout] 1227 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `lhs` is dropped here, but in Rust 2021, only `lhs.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `rhs` is dropped here, but in Rust 2021, only `rhs.0` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `lhs`, `rhs` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1198 ~ box move |symbols| { [INFO] [stdout] 1199 + let _ = (&lhs, &rhs); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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" "4f1addf060dae7ace24935bea8faf4f45830da500b4f164f8189067eed578e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1addf060dae7ace24935bea8faf4f45830da500b4f164f8189067eed578e6f", kill_on_drop: false }` [INFO] [stdout] 4f1addf060dae7ace24935bea8faf4f45830da500b4f164f8189067eed578e6f