[INFO] cloning repository https://github.com/miyamofigo/rust-nginx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miyamofigo/rust-nginx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-nginx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-nginx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7191f26058e73bd11229b58332b246d228d5071 [INFO] checking miyamofigo/rust-nginx against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-nginx" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miyamofigo/rust-nginx on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miyamofigo/rust-nginx [INFO] finished tweaking git repo https://github.com/miyamofigo/rust-nginx [INFO] tweaked toml for git repo https://github.com/miyamofigo/rust-nginx written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/miyamofigo/rust-nginx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0f66db451a4713e53f58001cc12309fd26cb5bbb86f313e50bf161ca6832641 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a0f66db451a4713e53f58001cc12309fd26cb5bbb86f313e50bf161ca6832641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0f66db451a4713e53f58001cc12309fd26cb5bbb86f313e50bf161ca6832641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f66db451a4713e53f58001cc12309fd26cb5bbb86f313e50bf161ca6832641", kill_on_drop: false }` [INFO] [stdout] a0f66db451a4713e53f58001cc12309fd26cb5bbb86f313e50bf161ca6832641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad4889b4b159cc185f7c5a361dcb6528514683f79cfb44438c52a4d4ca719bbc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad4889b4b159cc185f7c5a361dcb6528514683f79cfb44438c52a4d4ca719bbc", kill_on_drop: false }` [INFO] [stderr] Checking rlibc v0.1.5 [INFO] [stderr] Checking nginx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::core::intrinsics::transmute` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::core::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / macro_rules! ngx_align { [INFO] [stdout] 14 | | ($d:expr, $a:expr) => { ($d + ($a - 1)) & !($a - 1) } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/config.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! ngx_align_ptr { [INFO] [stdout] 20 | | ($p:expr, $a:expr) => { [INFO] [stdout] 21 | | { [INFO] [stdout] 22 | | let array = unsafe { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/atomic.rs:76:2 [INFO] [stdout] | [INFO] [stdout] 76 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/atomic.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / macro_rules! ngx_trylock { [INFO] [stdout] 96 | | ($lock:ident) => { [INFO] [stdout] 97 | | if $lock.load() == 0 { $lock.cmp_set(0, 1); } [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/atomic.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / macro_rules! ngx_unlock { [INFO] [stdout] 102 | | ($lock:ident) => { $lock.store(0); } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | align: libc::size_t, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | size: libc::size_t) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | size: libc::size_t) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | let ptr = libc::malloc(size as libc::size_t) as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let ptr = libc::malloc(size as libc::size_t) as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | libc::free(ptr as *mut libc::c_void); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | let err = posix_memalign(&mut out, align as libc::size_t, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | size as libc::size_t); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::intrinsics::transmute` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::core::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/config.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / macro_rules! ngx_align { [INFO] [stdout] 14 | | ($d:expr, $a:expr) => { ($d + ($a - 1)) & !($a - 1) } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/config.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! ngx_align_ptr { [INFO] [stdout] 20 | | ($p:expr, $a:expr) => { [INFO] [stdout] 21 | | { [INFO] [stdout] 22 | | let array = unsafe { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/atomic.rs:76:2 [INFO] [stdout] | [INFO] [stdout] 76 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | align: libc::size_t, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | size: libc::size_t) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | size: libc::size_t) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | let ptr = libc::malloc(size as libc::size_t) as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let ptr = libc::malloc(size as libc::size_t) as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | libc::free(ptr as *mut libc::c_void); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | let err = posix_memalign(&mut out, align as libc::size_t, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/alloc.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | size as libc::size_t); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | atomic_cxchg_relaxed(lock, old, new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn ngx_atomic_cmp_set(lock: *mut T, old: T, new: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | atomic_cxchg_relaxed(lock, old, new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn ngx_atomic_cmp_set(lock: *mut T, old: T, new: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/atomic.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn ngx_atomic_cmp_set(lock: *mut T, old: T, new: T) -> T { [INFO] [stdout] | - this type parameter - expected `T` because of return type [INFO] [stdout] 49 | atomic_cxchg_relaxed(lock, old, new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found tuple `(T, bool)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | atomic_xadd(value, add) [INFO] [stdout] | ^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn ngx_atomic_fetch_add(value: *mut T, add: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | atomic_load_relaxed(src) [INFO] [stdout] | ^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn ngx_atomic_load(src: *const T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:64:2 [INFO] [stdout] | [INFO] [stdout] 64 | atomic_store_relaxed(dst, val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 63 | unsafe fn ngx_atomic_store(dst: *mut T, val: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/atomic.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn ngx_atomic_cmp_set(lock: *mut T, old: T, new: T) -> T { [INFO] [stdout] | - this type parameter - expected `T` because of return type [INFO] [stdout] 49 | atomic_cxchg_relaxed(lock, old, new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found tuple `(T, bool)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | atomic_xadd(value, add) [INFO] [stdout] | ^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn ngx_atomic_fetch_add(value: *mut T, add: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | atomic_load_relaxed(src) [INFO] [stdout] | ^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn ngx_atomic_load(src: *const T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied [INFO] [stdout] --> src/atomic.rs:64:2 [INFO] [stdout] | [INFO] [stdout] 64 | atomic_store_relaxed(dst, val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 63 | unsafe fn ngx_atomic_store(dst: *mut T, val: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nginx` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ad4889b4b159cc185f7c5a361dcb6528514683f79cfb44438c52a4d4ca719bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4889b4b159cc185f7c5a361dcb6528514683f79cfb44438c52a4d4ca719bbc", kill_on_drop: false }` [INFO] [stdout] ad4889b4b159cc185f7c5a361dcb6528514683f79cfb44438c52a4d4ca719bbc