[INFO] cloning repository https://github.com/dragon-zhang/rust-study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dragon-zhang/rust-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de588d312d38270a3dbf9713b8fffcc6fec6aa87 [INFO] checking dragon-zhang/rust-study/de588d312d38270a3dbf9713b8fffcc6fec6aa87 against try#96ad39d809ea5a132d223acdaa01b9a8d3a26348 for pr-129346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dragon-zhang/rust-study on toolchain 96ad39d809ea5a132d223acdaa01b9a8d3a26348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96ad39d809ea5a132d223acdaa01b9a8d3a26348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dragon-zhang/rust-study [INFO] finished tweaking git repo https://github.com/dragon-zhang/rust-study [INFO] tweaked toml for git repo https://github.com/dragon-zhang/rust-study written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dragon-zhang/rust-study 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" "+96ad39d809ea5a132d223acdaa01b9a8d3a26348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dragon-zhang/rust-study/de588d312d38270a3dbf9713b8fffcc6fec6aa87 against try#96ad39d809ea5a132d223acdaa01b9a8d3a26348 for pr-129346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dragon-zhang/rust-study on toolchain 96ad39d809ea5a132d223acdaa01b9a8d3a26348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96ad39d809ea5a132d223acdaa01b9a8d3a26348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dragon-zhang/rust-study [INFO] finished tweaking git repo https://github.com/dragon-zhang/rust-study [INFO] tweaked toml for git repo https://github.com/dragon-zhang/rust-study written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dragon-zhang/rust-study 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" "+96ad39d809ea5a132d223acdaa01b9a8d3a26348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded genawaiter-proc-macro v0.99.1 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.6 [INFO] [stderr] Downloaded priority-queue v1.2.2 [INFO] [stderr] Downloaded genawaiter v0.99.1 [INFO] [stderr] Downloaded genawaiter-macro v0.99.1 [INFO] [stderr] Downloaded proc-macro-error v0.4.12 [INFO] [stderr] Downloaded syn-mid v0.5.3 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.12 [INFO] [stderr] Downloaded security-framework-sys v2.5.0 [INFO] [stderr] Downloaded context v2.1.0 [INFO] [stderr] Downloaded reqwest v0.11.9 [INFO] [stderr] Downloaded security-framework v2.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+96ad39d809ea5a132d223acdaa01b9a8d3a26348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a5cf72aa88553f3bb699b87921952f7dca2b7b9311038f4866abf504ec27803 [INFO] running `Command { std: "docker" "start" "-a" "8a5cf72aa88553f3bb699b87921952f7dca2b7b9311038f4866abf504ec27803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a5cf72aa88553f3bb699b87921952f7dca2b7b9311038f4866abf504ec27803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5cf72aa88553f3bb699b87921952f7dca2b7b9311038f4866abf504ec27803", kill_on_drop: false }` [INFO] [stdout] 8a5cf72aa88553f3bb699b87921952f7dca2b7b9311038f4866abf504ec27803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+96ad39d809ea5a132d223acdaa01b9a8d3a26348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07cbbddb9a0aa19b38f9099c69c03fb02e9749b3ad21b46f986fe09a6757d7d3 [INFO] running `Command { std: "docker" "start" "-a" "07cbbddb9a0aa19b38f9099c69c03fb02e9749b3ad21b46f986fe09a6757d7d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling priority-queue v1.2.2 [INFO] [stderr] Checking gimli v0.27.1 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking deadpool-runtime v0.1.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling context v2.1.0 [INFO] [stderr] Checking module2 v0.1.0 (/opt/rustwide/workdir/28c_call_rust) [INFO] [stderr] Compiling use_hook v0.1.0 (/opt/rustwide/workdir/33use_hook) [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking hook v0.1.0 (/opt/rustwide/workdir/32hook) [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking coroutine v0.1.0 (/opt/rustwide/workdir/coroutine) [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling generator v0.1.0 (/opt/rustwide/workdir/generator) [INFO] [stderr] Compiling module1 v0.1.0 (/opt/rustwide/workdir/simple) [INFO] [stderr] Checking rand v0.8.4 [INFO] [stdout] error[E0432]: unresolved imports `crate::register::asm::bootstrap_green_task`, `crate::register::asm::prefetch` [INFO] [stdout] --> generator/src/register/x86_64_unix.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::register::asm::{bootstrap_green_task, prefetch}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ no `prefetch` in `register::asm` [INFO] [stdout] | | [INFO] [stdout] | no `bootstrap_green_task` in `register::asm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> generator/src/generator.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [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 name: `nightly` [INFO] [stdout] --> generator/src/runtime.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::register::asm::bootstrap_green_task`, `crate::register::asm::prefetch` [INFO] [stdout] --> generator/src/register/x86_64_unix.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::register::asm::{bootstrap_green_task, prefetch}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ no `prefetch` in `register::asm` [INFO] [stdout] | | [INFO] [stdout] | no `bootstrap_green_task` in `register::asm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> generator/src/generator.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [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 name: `nightly` [INFO] [stdout] --> generator/src/runtime.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `fmt` [INFO] [stdout] --> generator/src/generator.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a, A, T, const LOCAL: bool> fmt::Debug for GeneratorObj<'a, A, T, LOCAL> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `fmt` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn fmt(&self, _: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `fmt` [INFO] [stdout] --> generator/src/generator.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a, A, T, const LOCAL: bool> fmt::Debug for GeneratorObj<'a, A, T, LOCAL> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `fmt` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn fmt(&self, _: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> simple/src/stack/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> simple/src/stack/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> simple/src/stack/system/unix.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> simple/src/stack/system/unix.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 74 | static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> simple/src/stack/system/unix.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | limit = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> simple/src/stack/system/unix.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 96 | static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/generator.rs:337:33 [INFO] [stdout] | [INFO] [stdout] 337 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> simple/src/stack/system/unix.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> simple/src/stack/system/unix.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 74 | static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> simple/src/stack/system/unix.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | limit = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> simple/src/stack/system/unix.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 96 | static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/generator.rs:524:23 [INFO] [stdout] | [INFO] [stdout] 524 | ContextStack::current().top().err = Some(cause); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/generator.rs:337:33 [INFO] [stdout] | [INFO] [stdout] 337 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/runtime.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 239 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/generator.rs:524:23 [INFO] [stdout] | [INFO] [stdout] 524 | ContextStack::current().top().err = Some(cause); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/runtime.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 248 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> simple/src/stack/error.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | StackError::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/scope.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/scope.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | ContextStack::current().top()._ref = 0xf; [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/runtime.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 239 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/runtime.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 248 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/scope.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> simple/src/stack/error.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | StackError::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | ContextStack::current() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/scope.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(ctx) = ContextStack::current().co_ctx() { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/unix.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | ContextStack::current().top()._ref = 0xf; [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/unix.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { Ok(SysStack::new(stack.top(), bottom)) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let env = ContextStack::current(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protected` is never read [INFO] [stdout] --> simple/src/stack/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Stack { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | protected: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `shadow_clone`, `drop_stack`, `expand`, and `reduce` are never used [INFO] [stdout] --> simple/src/stack/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn shadow_clone(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn drop_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn expand(old_stack: Stack, ratio: usize) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn reduce(old_stack: Stack, ratio: usize) -> Result<(), StackError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_stack` is never used [INFO] [stdout] --> simple/src/stack/system/unix.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn copy_stack(new: &Stack, old: &Stack) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce_stack` is never used [INFO] [stdout] --> simple/src/stack/system/unix.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn reduce_stack(stack: &Stack, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deallocate_stack` is never used [INFO] [stdout] --> simple/src/stack/system/unix.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub unsafe fn deallocate_stack(ptr: *mut c_void, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | ContextStack::current() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope [INFO] [stdout] --> generator/src/co_yield.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(ctx) = ContextStack::current().co_ctx() { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ContextStack` [INFO] [stdout] | [INFO] [stdout] ::: generator/src/runtime.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ContextStack { [INFO] [stdout] | ----------------------- function or associated item `current` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/unix.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { [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] --> generator/src/stack/unix.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { Ok(SysStack::new(stack.top(), bottom)) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/mod.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | let mut ret = unsafe { sys::allocate_stack(size) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/mod.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | ret = unsafe { sys::protect_stack(&stack) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rlimit` does not permit being left uninitialized [INFO] [stdout] --> simple/src/stack/system/unix.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | limit = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/mod.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | let mut ret = unsafe { sys::allocate_stack(size) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/mod.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | ret = unsafe { sys::protect_stack(&stack) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> generator/src/stack/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protected` is never read [INFO] [stdout] --> simple/src/stack/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Stack { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | protected: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `shadow_clone`, `drop_stack`, `expand`, and `reduce` are never used [INFO] [stdout] --> simple/src/stack/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn shadow_clone(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn drop_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn expand(old_stack: Stack, ratio: usize) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn reduce(old_stack: Stack, ratio: usize) -> Result<(), StackError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_stack` is never used [INFO] [stdout] --> simple/src/stack/system/unix.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn copy_stack(new: &Stack, old: &Stack) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce_stack` is never used [INFO] [stdout] --> simple/src/stack/system/unix.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn reduce_stack(stack: &Stack, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deallocate_stack` is never used [INFO] [stdout] --> simple/src/stack/system/unix.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub unsafe fn deallocate_stack(ptr: *mut c_void, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rlimit` does not permit being left uninitialized [INFO] [stdout] --> simple/src/stack/system/unix.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | limit = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `generator` (lib) due to 14 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `generator` (lib test) due to 14 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07cbbddb9a0aa19b38f9099c69c03fb02e9749b3ad21b46f986fe09a6757d7d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07cbbddb9a0aa19b38f9099c69c03fb02e9749b3ad21b46f986fe09a6757d7d3", kill_on_drop: false }` [INFO] [stdout] 07cbbddb9a0aa19b38f9099c69c03fb02e9749b3ad21b46f986fe09a6757d7d3