[INFO] fetching crate dart 0.1.1... [INFO] checking dart-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate dart 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate dart 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.2 [INFO] [stderr] Downloaded mashup v0.1.9 [INFO] [stderr] Downloaded dart-sys v2.0.1 [INFO] [stderr] Downloaded mashup-impl v0.1.9 [INFO] [stderr] Downloaded proc-macro-hack v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9616d9bca5cf66ac75fcbe62c0e30abfd09d420370de3f2564b5c38803859586 [INFO] running `Command { std: "docker" "start" "-a" "9616d9bca5cf66ac75fcbe62c0e30abfd09d420370de3f2564b5c38803859586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9616d9bca5cf66ac75fcbe62c0e30abfd09d420370de3f2564b5c38803859586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9616d9bca5cf66ac75fcbe62c0e30abfd09d420370de3f2564b5c38803859586", kill_on_drop: false }` [INFO] [stdout] 9616d9bca5cf66ac75fcbe62c0e30abfd09d420370de3f2564b5c38803859586 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59e75b4aaed41c401c1d8aafe5d886ebad3004ed470817f7362011729c1055c4 [INFO] running `Command { std: "docker" "start" "-a" "59e75b4aaed41c401c1d8aafe5d886ebad3004ed470817f7362011729c1055c4", kill_on_drop: false }` [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] Checking cfg-if v0.1.10 [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 dart v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.7.3 [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = std::mem::replace(self, Item::PossiblyModified(x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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` which comes from the expansion of the macro `create_init_function` (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: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` which comes from the expansion of the macro `create_init_function` (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` which comes from the expansion of the macro `export_dart_functions` (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: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` which comes from the expansion of the macro `create_init_function` (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` which comes from the expansion of the macro `export_dart_functions` (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` which comes from the expansion of the macro `export_dart_functions` (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 `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 `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] = note: `random_array` is in scope, but it is a function, not a macro [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] = note: `system_s_rand` is in scope, but it is a function, not a macro [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_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] = note: `system_rand` is in scope, but it is a function, not a macro [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] = note: `system_s_rand` is in scope, but it is a function, not a macro [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] = note: `random_array` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dart` (example "async") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dart` (example "sync") due to 6 previous errors [INFO] [stderr] error: could not compile `dart` (example "sync_and_async") due to 6 previous errors [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = std::mem::replace(self, Item::PossiblyModified(x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59e75b4aaed41c401c1d8aafe5d886ebad3004ed470817f7362011729c1055c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e75b4aaed41c401c1d8aafe5d886ebad3004ed470817f7362011729c1055c4", kill_on_drop: false }` [INFO] [stdout] 59e75b4aaed41c401c1d8aafe5d886ebad3004ed470817f7362011729c1055c4