[INFO] cloning repository https://github.com/Bobxcat/async_code_executor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bobxcat/async_code_executor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobxcat%2Fasync_code_executor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobxcat%2Fasync_code_executor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b51ed1157b4e6d47d788211cd4227b307736e5de
[INFO] checking Bobxcat/async_code_executor against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobxcat%2Fasync_code_executor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bobxcat/async_code_executor
[INFO] finished tweaking git repo https://github.com/Bobxcat/async_code_executor
[INFO] tweaked toml for git repo https://github.com/Bobxcat/async_code_executor written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bobxcat/async_code_executor on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bobxcat/async_code_executor 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dac38375a08465e96ec20f56367304c2e93c037a5005bcd8ff030f2d6e950ffa
[INFO] running `Command { std: "docker" "start" "-a" "dac38375a08465e96ec20f56367304c2e93c037a5005bcd8ff030f2d6e950ffa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dac38375a08465e96ec20f56367304c2e93c037a5005bcd8ff030f2d6e950ffa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dac38375a08465e96ec20f56367304c2e93c037a5005bcd8ff030f2d6e950ffa", kill_on_drop: false }`
[INFO] [stdout] dac38375a08465e96ec20f56367304c2e93c037a5005bcd8ff030f2d6e950ffa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e4d218cb278ecb011d2751b4703f221d248ad18d753451300c136a5ef862d00
[INFO] running `Command { std: "docker" "start" "-a" "3e4d218cb278ecb011d2751b4703f221d248ad18d753451300c136a5ef862d00", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.94
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]     Checking oneshot v0.1.6
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling libmimalloc-sys v0.1.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]     Checking mimalloc v0.1.39
[INFO] [stderr]     Checking async_code_executor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `num::NonZeroUsize`
[INFO] [stdout]   --> src/executor.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     num::NonZeroUsize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GcPtr`, `ValStackEntry`, and `primitives::NumTy`
[INFO] [stdout]   --> src/executor.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 26 |     gc::{DefaultProgramAlloc, GcPtr, ProgramGC},
[INFO] [stdout]    |                               ^^^^^
[INFO] [stdout] 27 |     types::{primitives::NumTy, CustomTyName, CustomType, Type, TypeCtx, ValStack, ValStackEntry},
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^                                                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `marker::PhantomData`
[INFO] [stdout]  --> src/function.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Debug, marker::PhantomData};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CustomTyIdx`, `CustomTyName`, `CustomType`, and `TypeCtx`
[INFO] [stdout]  --> src/function.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 |     types::{primitives::NumTy, CustomTyIdx, CustomTyName, CustomType, OwnedValue, Type, TypeCtx},
[INFO] [stdout]   |                                ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/global_debug.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Mutex, RwLock};
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem::ManuallyDrop`
[INFO] [stdout]  --> src/ptr_ops.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     mem::ManuallyDrop,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `marker::PhantomData`
[INFO] [stdout]  --> src/types.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 |     alloc::Layout, collections::HashMap, marker::PhantomData, num::NonZeroUsize, ptr::NonNull,
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]    --> src/types.rs:713:30
[INFO] [stdout]     |
[INFO] [stdout] 713 |     use std::{alloc::Layout, rc::Rc, sync::Arc};
[INFO] [stdout]     |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CustomType`, `Function`, and `TypeCtx`
[INFO] [stdout]  --> src/build_status.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     function::{FuncIdx, FuncName, Function},
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 5 |     types::{CustomTyIdx, CustomTyName, CustomType, FieldsLayout, Type, TypeCtx},
[INFO] [stdout]   |                                        ^^^^^^^^^^                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::NonZeroUsize`
[INFO] [stdout]   --> src/executor.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     num::NonZeroUsize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GcPtr`, `ValStackEntry`, and `primitives::NumTy`
[INFO] [stdout]   --> src/executor.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 26 |     gc::{DefaultProgramAlloc, GcPtr, ProgramGC},
[INFO] [stdout]    |                               ^^^^^
[INFO] [stdout] 27 |     types::{primitives::NumTy, CustomTyName, CustomType, Type, TypeCtx, ValStack, ValStackEntry},
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^                                                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `marker::PhantomData`
[INFO] [stdout]  --> src/function.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Debug, marker::PhantomData};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CustomTyIdx`, `CustomTyName`, `CustomType`, and `TypeCtx`
[INFO] [stdout]  --> src/function.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 |     types::{primitives::NumTy, CustomTyIdx, CustomTyName, CustomType, OwnedValue, Type, TypeCtx},
[INFO] [stdout]   |                                ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/global_debug.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Mutex, RwLock};
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem::ManuallyDrop`
[INFO] [stdout]  --> src/ptr_ops.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     mem::ManuallyDrop,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `marker::PhantomData`
[INFO] [stdout]  --> src/types.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 |     alloc::Layout, collections::HashMap, marker::PhantomData, num::NonZeroUsize, ptr::NonNull,
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]    --> src/types.rs:713:30
[INFO] [stdout]     |
[INFO] [stdout] 713 |     use std::{alloc::Layout, rc::Rc, sync::Arc};
[INFO] [stdout]     |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CustomType`, `Function`, and `TypeCtx`
[INFO] [stdout]  --> src/build_status.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     function::{FuncIdx, FuncName, Function},
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 5 |     types::{CustomTyIdx, CustomTyName, CustomType, FieldsLayout, Type, TypeCtx},
[INFO] [stdout]   |                                        ^^^^^^^^^^                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/executor.rs:387:9
[INFO] [stdout]     |
[INFO] [stdout] 385 |         todo!();
[INFO] [stdout]     |         ------- any code following this expression is unreachable
[INFO] [stdout] 386 |
[INFO] [stdout] 387 |         let mut routine_returns: Vec<Receiver<RoutineRunnerResult<A>>> = vec![];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/executor.rs:387:9
[INFO] [stdout]     |
[INFO] [stdout] 385 |         todo!();
[INFO] [stdout]     |         ------- any code following this expression is unreachable
[INFO] [stdout] 386 |
[INFO] [stdout] 387 |         let mut routine_returns: Vec<Receiver<RoutineRunnerResult<A>>> = vec![];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/executor.rs:297:9
[INFO] [stdout]     |
[INFO] [stdout] 297 |     let start = Instant::now();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]    --> src/executor.rs:376:23
[INFO] [stdout]     |
[INFO] [stdout] 376 |     pub fn run(&self, cfg: ExecutorRunCfg) {
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/executor.rs:297:9
[INFO] [stdout]     |
[INFO] [stdout] 297 |     let start = Instant::now();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]    --> src/executor.rs:376:23
[INFO] [stdout]     |
[INFO] [stdout] 376 |     pub fn run(&self, cfg: ExecutorRunCfg) {
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/types.rs:313:32
[INFO] [stdout]     |
[INFO] [stdout] 313 |     pub fn as_bytes_ptr(&self, ctx: &TypeCtx) -> *mut [u8] {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/types.rs:313:32
[INFO] [stdout]     |
[INFO] [stdout] 313 |     pub fn as_bytes_ptr(&self, ctx: &TypeCtx) -> *mut [u8] {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FuncIdx` is more private than the item `FinishBuildingCtx::func`
[INFO] [stdout]   --> src/build_status.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn func(&self, id: &FuncName) -> FuncIdx {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `FinishBuildingCtx::func` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `FuncIdx` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/function.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct FuncIdx(usize);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `within_mem_ptr`, `alloc_from`, and `dealloc_to_offset` are never used
[INFO] [stdout]    --> src/bump_alloc.rs:86:8
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Bump {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn within_mem_ptr(&self, addr: NonNull<()>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn alloc_from<T: 'static>(&mut self, owned: Box<T>) -> Result<NonNull<T>, Box<BumpErr>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn dealloc_to_offset(&mut self, offset: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `gc` and `functions` are never read
[INFO] [stdout]    --> src/executor.rs:234:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | struct ExecutorStatics<A: ProgramAlloc> {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 234 |     gc: ProgramGC<A>,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 235 |     functions: Vec<Function<Built>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExecutorStatics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TypeMismatchErr` is never used
[INFO] [stdout]    --> src/executor.rs:240:6
[INFO] [stdout]     |
[INFO] [stdout] 240 | enum TypeMismatchErr<B: BuildStatus> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Awaiting` and `Timeout` are never constructed
[INFO] [stdout]    --> src/executor.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 265 | enum RoutineRunnerYieldReason {
[INFO] [stdout]     |      ------------------------ variants in this enum
[INFO] [stdout] 266 |     /// This routine is awaiting an async primitive, and will yield for now
[INFO] [stdout] 267 |     Awaiting,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 268 |     /// This routine ran for the given duration and timed out
[INFO] [stdout] 269 |     Timeout(Duration),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RoutineRunnerYieldReason` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Yield` is never constructed
[INFO] [stdout]    --> src/executor.rs:277:5
[INFO] [stdout]     |
[INFO] [stdout] 273 | enum RoutineRunnerResult<A: ProgramAlloc> {
[INFO] [stdout]     |      ------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 277 |     Yield {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RoutineRunnerResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `statics` is never read
[INFO] [stdout]    --> src/executor.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 361 | struct Executor<A: ProgramAlloc> {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 362 |     statics: Arc<ExecutorStatics<A>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Executor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/function.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FuncIdx {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub(crate) fn get(self) -> usize {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_hex_addr` and `as_mut_ptr` are never used
[INFO] [stdout]   --> src/gc.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl GcPtr {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 63 |     pub fn as_hex_addr(self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn as_mut_ptr<T>(self) -> *mut T {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allocator` and `allocations` are never read
[INFO] [stdout]   --> src/gc.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct ProgramGC<A: ProgramAlloc> {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 74 |     allocator: A,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 75 |     /// (`Allocation`, `num_stack_references`)
[INFO] [stdout] 76 |     allocations: Mutex<Vec<(GcPtr, usize)>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProgramGC` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `allocate_uninit`, `allocate_init`, `register_stack_gcptr`, and `drop_stack_gcptr` are never used
[INFO] [stdout]    --> src/gc.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl<A: ProgramAlloc> ProgramGC<A> {
[INFO] [stdout]     | ---------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn allocate_uninit<T>(&self) -> GcPtr {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn allocate_init<T>(&self, init: impl FnOnce(&mut MaybeUninit<T>) -> &mut T) -> GcPtr {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn register_stack_gcptr<T>(&self, pointer: GcPtr) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn drop_stack_gcptr<T>(&self, pointer: GcPtr) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/ptr_ops.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl AlignedBytes {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `TypeVal` is never constructed
[INFO] [stdout]    --> src/types.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct TypeVal {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pop` is never used
[INFO] [stdout]    --> src/types.rs:610:12
[INFO] [stdout]     |
[INFO] [stdout] 508 | impl ValStack {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 610 |     pub fn pop(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FrameStack` is never constructed
[INFO] [stdout]    --> src/types.rs:634:19
[INFO] [stdout]     |
[INFO] [stdout] 634 | pub(crate) struct FrameStack {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_auto` is never used
[INFO] [stdout]    --> src/types.rs:825:19
[INFO] [stdout]     |
[INFO] [stdout] 800 | impl FieldsLayout {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 825 |     pub(crate) fn new_auto(fields: Vec<Type<Built>>, ctx: &TypeCtx) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FuncIdx` is more private than the item `FinishBuildingCtx::func`
[INFO] [stdout]   --> src/build_status.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn func(&self, id: &FuncName) -> FuncIdx {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `FinishBuildingCtx::func` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `FuncIdx` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/function.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct FuncIdx(usize);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bump_alloc.rs:31:15
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Bump {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  31 |     pub const MAX_CAPACITY: usize = 10 * TEBIBYTE;
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout]  32 |     pub const DEFAULT_CAPACITY: usize = 8 * MEBIBYTE;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]  33 |     pub fn new_default() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub fn new(max_capacity: Option<NonZeroUsize>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn within_mem_ptr(&self, addr: NonNull<()>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn alloc_from<T: 'static>(&mut self, owned: Box<T>) -> Result<NonNull<T>, Box<BumpErr>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn alloc_bytes(&mut self, bytes: usize) -> Result<NonNull<[u8]>, Box<BumpErr>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn dealloc_to_offset(&mut self, offset: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `gc` and `functions` are never read
[INFO] [stdout]    --> src/executor.rs:234:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | struct ExecutorStatics<A: ProgramAlloc> {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 234 |     gc: ProgramGC<A>,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 235 |     functions: Vec<Function<Built>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExecutorStatics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async_code_executor` (lib test) due to 1 previous error; 28 warnings emitted
[INFO] [stdout] warning: enum `TypeMismatchErr` is never used
[INFO] [stdout]    --> src/executor.rs:240:6
[INFO] [stdout]     |
[INFO] [stdout] 240 | enum TypeMismatchErr<B: BuildStatus> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variants `Awaiting` and `Timeout` are never constructed
[INFO] [stdout]    --> src/executor.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 265 | enum RoutineRunnerYieldReason {
[INFO] [stdout]     |      ------------------------ variants in this enum
[INFO] [stdout] 266 |     /// This routine is awaiting an async primitive, and will yield for now
[INFO] [stdout] 267 |     Awaiting,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 268 |     /// This routine ran for the given duration and timed out
[INFO] [stdout] 269 |     Timeout(Duration),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RoutineRunnerYieldReason` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Yield` is never constructed
[INFO] [stdout]    --> src/executor.rs:277:5
[INFO] [stdout]     |
[INFO] [stdout] 273 | enum RoutineRunnerResult<A: ProgramAlloc> {
[INFO] [stdout]     |      ------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 277 |     Yield {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RoutineRunnerResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `statics` is never read
[INFO] [stdout]    --> src/executor.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 361 | struct Executor<A: ProgramAlloc> {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 362 |     statics: Arc<ExecutorStatics<A>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Executor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/function.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FuncIdx {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub(crate) fn get(self) -> usize {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_hex_addr` and `as_mut_ptr` are never used
[INFO] [stdout]   --> src/gc.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl GcPtr {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 63 |     pub fn as_hex_addr(self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn as_mut_ptr<T>(self) -> *mut T {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allocator` and `allocations` are never read
[INFO] [stdout]   --> src/gc.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct ProgramGC<A: ProgramAlloc> {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 74 |     allocator: A,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 75 |     /// (`Allocation`, `num_stack_references`)
[INFO] [stdout] 76 |     allocations: Mutex<Vec<(GcPtr, usize)>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProgramGC` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `allocate_uninit`, `allocate_init`, `register_stack_gcptr`, and `drop_stack_gcptr` are never used
[INFO] [stdout]    --> src/gc.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl<A: ProgramAlloc> ProgramGC<A> {
[INFO] [stdout]     | ---------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn allocate_uninit<T>(&self) -> GcPtr {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn allocate_init<T>(&self, init: impl FnOnce(&mut MaybeUninit<T>) -> &mut T) -> GcPtr {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn register_stack_gcptr<T>(&self, pointer: GcPtr) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn drop_stack_gcptr<T>(&self, pointer: GcPtr) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KIBIBYTE` is never used
[INFO] [stdout]  --> src/ptr_ops.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const KIBIBYTE: usize = 1024;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MEBIBYTE` is never used
[INFO] [stdout]  --> src/ptr_ops.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const MEBIBYTE: usize = KIBIBYTE * KIBIBYTE;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GIBIBYTE` is never used
[INFO] [stdout]   --> src/ptr_ops.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const GIBIBYTE: usize = MEBIBYTE * KIBIBYTE;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEBIBYTE` is never used
[INFO] [stdout]   --> src/ptr_ops.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const TEBIBYTE: usize = GIBIBYTE * KIBIBYTE;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/ptr_ops.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl AlignedBytes {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_bytes` is never used
[INFO] [stdout]    --> src/ptr_ops.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn set_bytes(sl: NonNull<[u8]>, val: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `TypeVal` is never constructed
[INFO] [stdout]    --> src/types.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct TypeVal {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_default`, `new`, `capacity`, `allocated_bytes`, and `pop` are never used
[INFO] [stdout]    --> src/types.rs:510:12
[INFO] [stdout]     |
[INFO] [stdout] 508 | impl ValStack {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 509 |     /// Creates a new `ValStack` with 10MB of capacity
[INFO] [stdout] 510 |     pub fn new_default() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 513 |     pub fn new(max_capacity: Option<NonZeroUsize>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 520 |     pub fn capacity(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 523 |     pub fn allocated_bytes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 610 |     pub fn pop(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FrameStack` is never constructed
[INFO] [stdout]    --> src/types.rs:634:19
[INFO] [stdout]     |
[INFO] [stdout] 634 | pub(crate) struct FrameStack {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_auto` is never used
[INFO] [stdout]    --> src/types.rs:825:19
[INFO] [stdout]     |
[INFO] [stdout] 800 | impl FieldsLayout {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 825 |     pub(crate) fn new_auto(fields: Vec<Type<Built>>, ctx: &TypeCtx) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async_code_executor` (lib) due to 1 previous error; 33 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3e4d218cb278ecb011d2751b4703f221d248ad18d753451300c136a5ef862d00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e4d218cb278ecb011d2751b4703f221d248ad18d753451300c136a5ef862d00", kill_on_drop: false }`
[INFO] [stdout] 3e4d218cb278ecb011d2751b4703f221d248ad18d753451300c136a5ef862d00
