[INFO] fetching crate dart 0.1.1... [INFO] checking dart-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate dart 0.1.1 into /workspace/builds/worker-104/source [INFO] validating manifest of crates.io crate dart 0.1.1 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 dart 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate dart 0.1.1 [INFO] tweaked toml for crates.io crate dart 0.1.1 written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate crates.io crate dart 0.1.1 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 proc-macro-hack-impl v0.4.2 [INFO] [stderr] Downloaded proc-macro-hack v0.4.2 [INFO] [stderr] Downloaded mashup v0.1.9 [INFO] [stderr] Downloaded mashup-impl v0.1.9 [INFO] [stderr] Downloaded dart-sys v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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] 20faf0ce080c7762f97d6e3c25b22f86ab8327d9c94d492cd1af7221d850e5db [INFO] running `Command { std: "docker" "start" "-a" "20faf0ce080c7762f97d6e3c25b22f86ab8327d9c94d492cd1af7221d850e5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20faf0ce080c7762f97d6e3c25b22f86ab8327d9c94d492cd1af7221d850e5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20faf0ce080c7762f97d6e3c25b22f86ab8327d9c94d492cd1af7221d850e5db", kill_on_drop: false }` [INFO] [stdout] 20faf0ce080c7762f97d6e3c25b22f86ab8327d9c94d492cd1af7221d850e5db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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] ceb4c08f45ac034679945109a2f97ee34df0a5260112ae0c8d5e33bd6958a5a1 [INFO] running `Command { std: "docker" "start" "-a" "ceb4c08f45ac034679945109a2f97ee34df0a5260112ae0c8d5e33bd6958a5a1", 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] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling dart-sys v2.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.4.2 [INFO] [stderr] Compiling mashup-impl v0.1.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mashup v0.1.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dart v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/dart_types/list.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | std::mem::replace(self, Item::PossiblyModified(x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/async.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/sync_and_async.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/sync.rs from 2018 edition to 2021 [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/async.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | create_init_function!(async_example, [async_exports]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/async.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | export_dart_functions!(async_exports: ["randomArrayServicePort" -> random_array as async]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dart_rs_init_name` in this scope [INFO] [stdout] --> examples/async.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | create_init_function!(async_example, [async_exports]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_init_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `random_array` in this scope [INFO] [stdout] --> examples/async.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | export_dart_functions!(async_exports: ["randomArrayServicePort" -> random_array as async]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/dart_types/list.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | std::mem::replace(self, Item::PossiblyModified(x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dart` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/sync.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | create_init_function!(sync_example, [sync_exports]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/sync.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | export_dart_functions!(sync_exports: ["systemRand" -> system_rand], ["systemSRand" -> system_s_rand]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dart_rs_init_name` in this scope [INFO] [stdout] --> examples/sync.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | create_init_function!(sync_example, [sync_exports]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_init_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `system_s_rand` in this scope [INFO] [stdout] --> examples/sync.rs:36:87 [INFO] [stdout] | [INFO] [stdout] 36 | export_dart_functions!(sync_exports: ["systemRand" -> system_rand], ["systemSRand" -> system_s_rand]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `system_rand` in this scope [INFO] [stdout] --> examples/sync.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | export_dart_functions!(sync_exports: ["systemRand" -> system_rand], ["systemSRand" -> system_s_rand]); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/sync_and_async.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | create_init_function!(exports_example, [exports]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/sync_and_async.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | export_dart_functions!(exports: ["randomArrayServicePort" -> random_array as async], ["systemSRand" -> system_s_rand]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dart_rs_init_name` in this scope [INFO] [stdout] --> examples/sync_and_async.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | create_init_function!(exports_example, [exports]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_init_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `system_s_rand` in this scope [INFO] [stdout] --> examples/sync_and_async.rs:52:104 [INFO] [stdout] | [INFO] [stdout] 52 | export_dart_functions!(exports: ["randomArrayServicePort" -> random_array as async], ["systemSRand" -> system_s_rand]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `random_array` in this scope [INFO] [stdout] --> examples/sync_and_async.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | export_dart_functions!(exports: ["randomArrayServicePort" -> random_array as async], ["systemSRand" -> system_s_rand]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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" "ceb4c08f45ac034679945109a2f97ee34df0a5260112ae0c8d5e33bd6958a5a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb4c08f45ac034679945109a2f97ee34df0a5260112ae0c8d5e33bd6958a5a1", kill_on_drop: false }` [INFO] [stdout] ceb4c08f45ac034679945109a2f97ee34df0a5260112ae0c8d5e33bd6958a5a1