[INFO] cloning repository https://github.com/AltOS-Rust/cm0-atomic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AltOS-Rust/cm0-atomic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltOS-Rust%2Fcm0-atomic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltOS-Rust%2Fcm0-atomic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc0cfd61786e931535d03c962a0b10553630b470 [INFO] checking AltOS-Rust/cm0-atomic against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltOS-Rust%2Fcm0-atomic" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AltOS-Rust/cm0-atomic on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AltOS-Rust/cm0-atomic [INFO] finished tweaking git repo https://github.com/AltOS-Rust/cm0-atomic [INFO] tweaked toml for git repo https://github.com/AltOS-Rust/cm0-atomic written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/AltOS-Rust/cm0-atomic already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eac51702b35695872e2e336fa9a5c6c5abf42747e2c964e3c143bc2ee7383137 [INFO] running `Command { std: "docker" "start" "-a" "eac51702b35695872e2e336fa9a5c6c5abf42747e2c964e3c143bc2ee7383137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac51702b35695872e2e336fa9a5c6c5abf42747e2c964e3c143bc2ee7383137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac51702b35695872e2e336fa9a5c6c5abf42747e2c964e3c143bc2ee7383137", kill_on_drop: false }` [INFO] [stdout] eac51702b35695872e2e336fa9a5c6c5abf42747e2c964e3c143bc2ee7383137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b33b624b381dff2126e83e02cc6db5219977bf46711d4ce2f426dce48dd12189 [INFO] running `Command { std: "docker" "start" "-a" "b33b624b381dff2126e83e02cc6db5219977bf46711d4ce2f426dce48dd12189", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cm0_atomic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | / atomic! { [INFO] [stdout] 132 | | let old = unsafe { &mut *self.p.get() }; [INFO] [stdout] 133 | | if *old == current { [INFO] [stdout] 134 | | Ok(::core::mem::replace(old, new)) [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / atomic! { [INFO] [stdout] 154 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 155 | | let new = !(*old && value); [INFO] [stdout] 156 | | ::core::mem::replace(old, new) [INFO] [stdout] 157 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / atomic! { [INFO] [stdout] 154 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 155 | | let new = !(*old && value); [INFO] [stdout] 156 | | ::core::mem::replace(old, new) [INFO] [stdout] 157 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | / atomic! { [INFO] [stdout] 225 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 226 | | if *old == current { [INFO] [stdout] 227 | | Ok(::core::mem::replace(old, new)) [INFO] [stdout] ... | [INFO] [stdout] 231 | | } [INFO] [stdout] 232 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | / atomic! { [INFO] [stdout] 247 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 248 | | let new = *old + data; [INFO] [stdout] 249 | | ::core::mem::replace(old, new) [INFO] [stdout] 250 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | / atomic! { [INFO] [stdout] 247 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 248 | | let new = *old + data; [INFO] [stdout] 249 | | ::core::mem::replace(old, new) [INFO] [stdout] 250 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / atomic! { [INFO] [stdout] 257 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 258 | | let new = *old - data; [INFO] [stdout] 259 | | ::core::mem::replace(old, new) [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / atomic! { [INFO] [stdout] 257 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 258 | | let new = *old - data; [INFO] [stdout] 259 | | ::core::mem::replace(old, new) [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | / atomic! { [INFO] [stdout] 267 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 268 | | let new = *old & data; [INFO] [stdout] 269 | | ::core::mem::replace(old, new) [INFO] [stdout] 270 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | / atomic! { [INFO] [stdout] 267 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 268 | | let new = *old & data; [INFO] [stdout] 269 | | ::core::mem::replace(old, new) [INFO] [stdout] 270 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / atomic! { [INFO] [stdout] 277 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 278 | | let new = *old | data; [INFO] [stdout] 279 | | ::core::mem::replace(old, new) [INFO] [stdout] 280 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / atomic! { [INFO] [stdout] 277 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 278 | | let new = *old | data; [INFO] [stdout] 279 | | ::core::mem::replace(old, new) [INFO] [stdout] 280 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | / atomic! { [INFO] [stdout] 287 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 288 | | let new = *old ^ data; [INFO] [stdout] 289 | | ::core::mem::replace(old, new) [INFO] [stdout] 290 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/arm.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | / atomic! { [INFO] [stdout] 287 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 288 | | let new = *old ^ data; [INFO] [stdout] 289 | | ::core::mem::replace(old, new) [INFO] [stdout] 290 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { self.p.into_inner() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | unsafe { self.data.into_inner() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | / atomic! { [INFO] [stdout] 132 | | let old = unsafe { &mut *self.p.get() }; [INFO] [stdout] 133 | | if *old == current { [INFO] [stdout] 134 | | Ok(::core::mem::replace(old, new)) [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / atomic! { [INFO] [stdout] 154 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 155 | | let new = !(*old && value); [INFO] [stdout] 156 | | ::core::mem::replace(old, new) [INFO] [stdout] 157 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / atomic! { [INFO] [stdout] 154 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 155 | | let new = !(*old && value); [INFO] [stdout] 156 | | ::core::mem::replace(old, new) [INFO] [stdout] 157 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | / atomic! { [INFO] [stdout] 225 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 226 | | if *old == current { [INFO] [stdout] 227 | | Ok(::core::mem::replace(old, new)) [INFO] [stdout] ... | [INFO] [stdout] 231 | | } [INFO] [stdout] 232 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | / atomic! { [INFO] [stdout] 247 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 248 | | let new = *old + data; [INFO] [stdout] 249 | | ::core::mem::replace(old, new) [INFO] [stdout] 250 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | / atomic! { [INFO] [stdout] 247 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 248 | | let new = *old + data; [INFO] [stdout] 249 | | ::core::mem::replace(old, new) [INFO] [stdout] 250 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / atomic! { [INFO] [stdout] 257 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 258 | | let new = *old - data; [INFO] [stdout] 259 | | ::core::mem::replace(old, new) [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / atomic! { [INFO] [stdout] 257 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 258 | | let new = *old - data; [INFO] [stdout] 259 | | ::core::mem::replace(old, new) [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | / atomic! { [INFO] [stdout] 267 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 268 | | let new = *old & data; [INFO] [stdout] 269 | | ::core::mem::replace(old, new) [INFO] [stdout] 270 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | / atomic! { [INFO] [stdout] 267 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 268 | | let new = *old & data; [INFO] [stdout] 269 | | ::core::mem::replace(old, new) [INFO] [stdout] 270 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / atomic! { [INFO] [stdout] 277 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 278 | | let new = *old | data; [INFO] [stdout] 279 | | ::core::mem::replace(old, new) [INFO] [stdout] 280 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / atomic! { [INFO] [stdout] 277 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 278 | | let new = *old | data; [INFO] [stdout] 279 | | ::core::mem::replace(old, new) [INFO] [stdout] 280 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | / atomic! { [INFO] [stdout] 287 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 288 | | let new = *old ^ data; [INFO] [stdout] 289 | | ::core::mem::replace(old, new) [INFO] [stdout] 290 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $first; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | / atomic! { [INFO] [stdout] 287 | | let old = unsafe { &mut *self.data.get() }; [INFO] [stdout] 288 | | let new = *old ^ data; [INFO] [stdout] 289 | | ::core::mem::replace(old, new) [INFO] [stdout] 290 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { self.p.into_inner() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | unsafe { self.data.into_inner() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "b33b624b381dff2126e83e02cc6db5219977bf46711d4ce2f426dce48dd12189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33b624b381dff2126e83e02cc6db5219977bf46711d4ce2f426dce48dd12189", kill_on_drop: false }` [INFO] [stdout] b33b624b381dff2126e83e02cc6db5219977bf46711d4ce2f426dce48dd12189