[INFO] cloning repository https://github.com/jsx-one/jsx-one [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsx-one/jsx-one" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsx-one%2Fjsx-one", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsx-one%2Fjsx-one'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0132d9cf6914d2ef41c371b452feb82378b5e07d [INFO] checking jsx-one/jsx-one against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsx-one%2Fjsx-one" "/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/jsx-one/jsx-one 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/jsx-one/jsx-one [INFO] finished tweaking git repo https://github.com/jsx-one/jsx-one [INFO] tweaked toml for git repo https://github.com/jsx-one/jsx-one written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/jsx-one/jsx-one 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded siphasher v0.3.5 [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] bfcd735d5c08e62a84ca29cffd47325c8851ad43a9385300fd82cb1abe45d31a [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" "bfcd735d5c08e62a84ca29cffd47325c8851ad43a9385300fd82cb1abe45d31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfcd735d5c08e62a84ca29cffd47325c8851ad43a9385300fd82cb1abe45d31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfcd735d5c08e62a84ca29cffd47325c8851ad43a9385300fd82cb1abe45d31a", kill_on_drop: false }` [INFO] [stdout] bfcd735d5c08e62a84ca29cffd47325c8851ad43a9385300fd82cb1abe45d31a [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] 126f8bd1d83932cb2568de46f542b88368af5800f2ab39290ebc7c3e67a0073a [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" "126f8bd1d83932cb2568de46f542b88368af5800f2ab39290ebc7c3e67a0073a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling swc_atoms v0.2.6 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling swc_macros_common v0.3.3 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Compiling swc_visit_macros v0.2.3 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Compiling from_variant v0.1.3 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Compiling is-macro v0.1.9 [INFO] [stderr] Compiling string_enum v0.3.1 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Compiling enum_kind v0.2.1 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.3 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Checking swc_visit v0.2.4 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking swc_common v0.11.0 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Checking swc_ecma_ast v0.49.0 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Checking swc_ecma_visit v0.35.0 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Checking swc_ecma_parser v0.63.0 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Checking swc_ecmascript v0.46.0 (https://github.com/jsx-one/parser#407be5d8) [INFO] [stderr] Checking jsx-one v0.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/codegen/react.rs (59 fixes) [INFO] [stderr] Fixed src/code.rs (1 fix) [INFO] [stdout] warning: value assigned to `mstringi` is never read [INFO] [stdout] --> src/codegen/react.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | let mut mstringi = String::from(""); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: value assigned to `mstringi` is never read [INFO] [stdout] --> src/codegen/react.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | let mut mstringi = String::from(""); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 16 | code::code(st) [INFO] [stdout] | ^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found struct `std::string::String` [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsx-one` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 16 | code::code(st) [INFO] [stdout] | ^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found struct `std::string::String` [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 E0308`. [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" "126f8bd1d83932cb2568de46f542b88368af5800f2ab39290ebc7c3e67a0073a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "126f8bd1d83932cb2568de46f542b88368af5800f2ab39290ebc7c3e67a0073a", kill_on_drop: false }` [INFO] [stdout] 126f8bd1d83932cb2568de46f542b88368af5800f2ab39290ebc7c3e67a0073a