[INFO] fetching crate rio 0.9.4... [INFO] testing rio-0.9.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rio 0.9.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rio 0.9.4 [INFO] finished tweaking crates.io crate rio 0.9.4 [INFO] tweaked toml for crates.io crate rio 0.9.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rio 0.9.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rio 0.9.4 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extreme v666.666.666 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 832c23128f9350819cdd3d25cb6f49d8d02e5ad078394e58bd479fcee7afdb83 [INFO] running `Command { std: "docker" "start" "-a" "832c23128f9350819cdd3d25cb6f49d8d02e5ad078394e58bd479fcee7afdb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "832c23128f9350819cdd3d25cb6f49d8d02e5ad078394e58bd479fcee7afdb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832c23128f9350819cdd3d25cb6f49d8d02e5ad078394e58bd479fcee7afdb83", kill_on_drop: false }` [INFO] [stdout] 832c23128f9350819cdd3d25cb6f49d8d02e5ad078394e58bd479fcee7afdb83 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4b455c9dc6dc408e07fd4ca47a1315702fbc4d1d2452b359ce63ec9418f3a77b [INFO] running `Command { std: "docker" "start" "-a" "4b455c9dc6dc408e07fd4ca47a1315702fbc4d1d2452b359ce63ec9418f3a77b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rio v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `measure_allocs` [INFO] [stdout] --> src/metrics.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "measure_allocs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no_metrics` [INFO] [stdout] = help: consider adding `measure_allocs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `measure_allocs` [INFO] [stdout] --> src/metrics.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(feature = "measure_allocs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no_metrics` [INFO] [stdout] = help: consider adding `measure_allocs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `measure_allocs` [INFO] [stdout] --> src/metrics.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "measure_allocs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no_metrics` [INFO] [stdout] = help: consider adding `measure_allocs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `measure_allocs` [INFO] [stdout] --> src/metrics.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(feature = "measure_allocs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no_metrics` [INFO] [stdout] = help: consider adding `measure_allocs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/io_uring/cq.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | * std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 46 - * std::mem::size_of::()); [INFO] [stdout] 46 + * size_of::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/io_uring/sq.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | * std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 49 - * std::mem::size_of::()); [INFO] [stdout] 49 + * size_of::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/io_uring/sq.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | * std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 61 - * std::mem::size_of::(); [INFO] [stdout] 61 + * size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/io_uring/syscall.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | core::mem::size_of::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 65 - core::mem::size_of::() [INFO] [stdout] 65 + size_of::() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/io_uring/uring.rs:741:17 [INFO] [stdout] | [INFO] [stdout] 741 | std::mem::size_of_val(a) as libc::socklen_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 741 - std::mem::size_of_val(a) as libc::socklen_t, [INFO] [stdout] 741 + size_of_val(a) as libc::socklen_t, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/io_uring/uring.rs:748:17 [INFO] [stdout] | [INFO] [stdout] 748 | std::mem::size_of_val(a) as libc::socklen_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 748 - std::mem::size_of_val(a) as libc::socklen_t, [INFO] [stdout] 748 + size_of_val(a) as libc::socklen_t, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lazy.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | while self.init_mu.compare_and_swap(false, true, SeqCst) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io_uring/uring.rs:416:37 [INFO] [stdout] | [INFO] [stdout] 416 | self.with_sqe(None, false, |mut sqe| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io_uring/uring.rs:474:37 [INFO] [stdout] | [INFO] [stdout] 474 | self.with_sqe(None, false, |mut sqe| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/io_uring/in_flight.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | (*iovec_ptr)[ticket] = iovec; [INFO] [stdout] | ^^---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/io_uring/in_flight.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | (*iovec_ptr)[ticket] = iovec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 59 | (&mut (*iovec_ptr))[ticket] = iovec; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/io_uring/in_flight.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | (*msghdr_ptr)[ticket].msg_iov = [INFO] [stdout] | ^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/io_uring/in_flight.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | (*msghdr_ptr)[ticket].msg_iov = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 62 | (&mut (*msghdr_ptr))[ticket].msg_iov = [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/io_uring/in_flight.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | (*msghdr_ptr)[ticket].msg_iovlen = 1; [INFO] [stdout] | ^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/io_uring/in_flight.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | (*msghdr_ptr)[ticket].msg_iovlen = 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 66 | (&mut (*msghdr_ptr))[ticket].msg_iovlen = 1; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/io_uring/in_flight.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | (*self.fillers.get())[ticket] = Some(filler); [INFO] [stdout] | ^^------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/io_uring/in_flight.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | (*self.fillers.get())[ticket] = Some(filler); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 69 | (&mut (*self.fillers.get()))[ticket] = Some(filler); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/io_uring/in_flight.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | (*self.fillers.get())[ticket].take().unwrap() [INFO] [stdout] | ^^------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/io_uring/in_flight.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | (*self.fillers.get())[ticket].take().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 90 | (&mut (*self.fillers.get()))[ticket].take().unwrap() [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rio` (lib) due to 11 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b455c9dc6dc408e07fd4ca47a1315702fbc4d1d2452b359ce63ec9418f3a77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b455c9dc6dc408e07fd4ca47a1315702fbc4d1d2452b359ce63ec9418f3a77b", kill_on_drop: false }` [INFO] [stdout] 4b455c9dc6dc408e07fd4ca47a1315702fbc4d1d2452b359ce63ec9418f3a77b