[INFO] fetching crate atat 0.23.0... [INFO] checking atat-0.23.0 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate atat 0.23.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate atat 0.23.0 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate atat 0.23.0 [INFO] finished tweaking crates.io crate atat 0.23.0 [INFO] tweaked toml for crates.io crate atat 0.23.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding embassy-time v0.3.2 (available: v0.4.0) [INFO] [stderr] Adding heapless-bytes v0.3.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a71268b74ee09e0de6559ce36db19e30d07f1ff5a5ff0fa46f3f904e46803e03 [INFO] running `Command { std: "docker" "start" "-a" "a71268b74ee09e0de6559ce36db19e30d07f1ff5a5ff0fa46f3f904e46803e03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a71268b74ee09e0de6559ce36db19e30d07f1ff5a5ff0fa46f3f904e46803e03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71268b74ee09e0de6559ce36db19e30d07f1ff5a5ff0fa46f3f904e46803e03", kill_on_drop: false }` [INFO] [stdout] a71268b74ee09e0de6559ce36db19e30d07f1ff5a5ff0fa46f3f904e46803e03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04c5adfaa2edd119a5b7dc6415d3244ed40ab43878be910a002cb9d64a55f402 [INFO] running `Command { std: "docker" "start" "-a" "04c5adfaa2edd119a5b7dc6415d3244ed40ab43878be910a002cb9d64a55f402", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embassy-time-queue-driver v0.1.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling embassy-time-driver v0.1.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling embassy-sync v0.6.1 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking static_cell v2.1.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking heapless-bytes v0.3.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_at v0.23.0 [INFO] [stderr] Checking embassy-time v0.3.2 [INFO] [stderr] Compiling atat_derive v0.23.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking atat v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `Result<&[u8], error::InternalError<'_>>` to `Result<&[u8], error::InternalError<'_>>` [INFO] [stdout] --> src/blocking/client.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | rx.signal_response(Err(InternalError::Error).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Result<&[u8], error::InternalError<'_>>` to `Result<&[u8], error::InternalError<'_>>` [INFO] [stdout] --> src/blocking/client.rs:299:32 [INFO] [stdout] | [INFO] [stdout] 299 | rx.signal_response(Err(InternalError::Error).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/asynch/client.rs:187:58 [INFO] [stdout] | [INFO] [stdout] 187 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 208 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/asynch/client.rs:187:58 [INFO] [stdout] | [INFO] [stdout] 187 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 254 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 269 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 290 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 314 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 350 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 376 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 428 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 466 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 512 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atat` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04c5adfaa2edd119a5b7dc6415d3244ed40ab43878be910a002cb9d64a55f402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c5adfaa2edd119a5b7dc6415d3244ed40ab43878be910a002cb9d64a55f402", kill_on_drop: false }` [INFO] [stdout] 04c5adfaa2edd119a5b7dc6415d3244ed40ab43878be910a002cb9d64a55f402