[INFO] cloning repository https://github.com/bmcclelland/586-frontend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bmcclelland/586-frontend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmcclelland%2F586-frontend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmcclelland%2F586-frontend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b11ecf60d985a027e5ab6b6336281d285dc4e88e [INFO] checking bmcclelland/586-frontend against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmcclelland%2F586-frontend" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bmcclelland/586-frontend 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/bmcclelland/586-frontend [INFO] finished tweaking git repo https://github.com/bmcclelland/586-frontend [INFO] tweaked toml for git repo https://github.com/bmcclelland/586-frontend written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/bmcclelland/586-frontend 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 askama_derive v0.8.0 [INFO] [stderr] Downloaded askama_escape v0.2.0 [INFO] [stderr] Downloaded askama_shared v0.8.0 [INFO] [stderr] Downloaded askama v0.8.0 [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] [stdout] f80d02352c429397d02caacf8daeab43fa8125632433e8879c42fbbd98dbdb43 [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" "f80d02352c429397d02caacf8daeab43fa8125632433e8879c42fbbd98dbdb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f80d02352c429397d02caacf8daeab43fa8125632433e8879c42fbbd98dbdb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80d02352c429397d02caacf8daeab43fa8125632433e8879c42fbbd98dbdb43", kill_on_drop: false }` [INFO] [stdout] f80d02352c429397d02caacf8daeab43fa8125632433e8879c42fbbd98dbdb43 [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] 4dd9236d2051721f619402babc378150f88d7d60b250f4997a1e9a0d4c1b8c44 [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" "4dd9236d2051721f619402babc378150f88d7d60b250f4997a1e9a0d4c1b8c44", 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.101 (as host dependency): derive, serde_derive [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling base-x v0.2.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling yew v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling yew-macro v0.9.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking backtrace v0.3.38 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.10 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Checking askama_shared v0.8.0 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Compiling askama_derive v0.8.0 [INFO] [stderr] Checking askama v0.8.0 [INFO] [stderr] Checking frontend v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> src/msg.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | $crate::initialize(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> src/msg.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `frontend` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/msg.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/msg.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/msg.rs:136:33 [INFO] [stderr] | [INFO] [stderr] 136 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/msg.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | / js!( return api_url; ) [INFO] [stdout] 132 | | .try_into() [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 131 ~ TryInto::try_into({ [INFO] [stdout] 132 + if cfg!( test ) { [INFO] [stdout] 133 + $crate::initialize(); [INFO] [stdout] 134 + } [INFO] [stdout] 135 + [INFO] [stdout] 136 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frontend` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [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" "4dd9236d2051721f619402babc378150f88d7d60b250f4997a1e9a0d4c1b8c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dd9236d2051721f619402babc378150f88d7d60b250f4997a1e9a0d4c1b8c44", kill_on_drop: false }` [INFO] [stdout] 4dd9236d2051721f619402babc378150f88d7d60b250f4997a1e9a0d4c1b8c44