[INFO] fetching crate crossbus 0.0.6-a... [INFO] checking crossbus-0.0.6-a against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate crossbus 0.0.6-a into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate crossbus 0.0.6-a [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate crossbus 0.0.6-a [INFO] tweaked toml for crates.io crate crossbus 0.0.6-a written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crossbus 0.0.6-a on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate crossbus 0.0.6-a 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.34 [INFO] [stderr] Downloaded wasm-logger v0.2.0 [INFO] [stderr] Downloaded simple_logger v4.0.0 [INFO] [stderr] Downloaded polling v2.5.2 [INFO] [stderr] Downloaded async-global-executor v2.3.1 [INFO] [stderr] Downloaded async-io v1.12.0 [INFO] [stderr] Downloaded futures v0.3.26 [INFO] [stderr] Downloaded serde v1.0.154 [INFO] [stderr] Downloaded time v0.3.20 [INFO] [stderr] Downloaded futures-channel v0.3.26 [INFO] [stderr] Downloaded value-bag v1.0.0-alpha.9 [INFO] [stderr] Downloaded futures-util v0.3.26 [INFO] [stderr] Downloaded proc-macro2 v1.0.50 [INFO] [stderr] Downloaded async-std v1.12.0 [INFO] [stderr] Downloaded atomic-waker v1.1.0 [INFO] [stderr] Downloaded futures-executor v0.3.26 [INFO] [stderr] Downloaded futures-macro v0.3.26 [INFO] [stderr] Downloaded futures-task v0.3.26 [INFO] [stderr] Downloaded time-macros v0.2.8 [INFO] [stderr] Downloaded blocking v1.3.0 [INFO] [stderr] Downloaded async-process v1.6.0 [INFO] [stderr] Downloaded gloo-timers v0.2.6 [INFO] [stderr] Downloaded crossbus-derive v0.0.2-a [INFO] [stderr] Downloaded futures-sink v0.3.26 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ace11d4d66b5b3da85999e2882576f1c308474c984e8209eb3986c3f5499eb6c [INFO] running `Command { std: "docker" "start" "-a" "ace11d4d66b5b3da85999e2882576f1c308474c984e8209eb3986c3f5499eb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ace11d4d66b5b3da85999e2882576f1c308474c984e8209eb3986c3f5499eb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace11d4d66b5b3da85999e2882576f1c308474c984e8209eb3986c3f5499eb6c", kill_on_drop: false }` [INFO] [stdout] ace11d4d66b5b3da85999e2882576f1c308474c984e8209eb3986c3f5499eb6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9bc78eac68da297516b22446e94b7f6eeec37f44fa6764c8dbfc3cf87fdf6df [INFO] running `Command { std: "docker" "start" "-a" "c9bc78eac68da297516b22446e94b7f6eeec37f44fa6764c8dbfc3cf87fdf6df", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Checking futures-sink v0.3.26 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking futures-io v0.3.26 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Checking crossbus v0.0.6-a (/opt/rustwide/workdir) [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.50/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/reactor.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { &REACTOR } [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { &raw const REACTOR } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/reactor.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe { &mut REACTOR }.await [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 160 | unsafe { &raw mut REACTOR }.await [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/reactor.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { REACTOR.inner.len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/reactor.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 252 - drop(inner); [INFO] [stdout] 252 + let _ = inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/register.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe { ®ISTER } [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 51 | unsafe { &raw const REGISTER } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/register.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | REGISTER.inner.push(item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/register.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | let inner = unsafe { &mut REGISTER.inner }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 97 | let inner = unsafe { &raw mut REGISTER.inner }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/register.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { ®ISTER.inner }.len() [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &raw const REGISTER.inner }.len() [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/register.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { ®ISTER.inner } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { &raw const REGISTER.inner } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c9bc78eac68da297516b22446e94b7f6eeec37f44fa6764c8dbfc3cf87fdf6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9bc78eac68da297516b22446e94b7f6eeec37f44fa6764c8dbfc3cf87fdf6df", kill_on_drop: false }` [INFO] [stdout] c9bc78eac68da297516b22446e94b7f6eeec37f44fa6764c8dbfc3cf87fdf6df