[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/b51ed1157b4e6d47d788211cd4227b307736e5de against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobxcat%2Fasync_code_executor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bobxcat/async_code_executor on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oneshot v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d40af4ca7b29e2b64bf98bc868778c7b92ff005a236ba7f9aa1bcc950ad91039 [INFO] running `Command { std: "docker" "start" "-a" "d40af4ca7b29e2b64bf98bc868778c7b92ff005a236ba7f9aa1bcc950ad91039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d40af4ca7b29e2b64bf98bc868778c7b92ff005a236ba7f9aa1bcc950ad91039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d40af4ca7b29e2b64bf98bc868778c7b92ff005a236ba7f9aa1bcc950ad91039", kill_on_drop: false }` [INFO] [stdout] d40af4ca7b29e2b64bf98bc868778c7b92ff005a236ba7f9aa1bcc950ad91039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5726a9c38d492fe93c3b46bf94ef26883ff563c24ef8c1ca5e49ff58794ea5a6 [INFO] running `Command { std: "docker" "start" "-a" "5726a9c38d492fe93c3b46bf94ef26883ff563c24ef8c1ca5e49ff58794ea5a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [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 quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Checking mimalloc v0.1.39 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [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)]` 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)]` 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>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` 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>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entrypoint` [INFO] [stdout] --> src/executor.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let entrypoint = FuncName::new("main"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entrypoint` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entrypoint` [INFO] [stdout] --> src/executor.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let entrypoint = FuncName::new("main"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entrypoint` [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(&mut self, owned: Box) -> Result, Box> { [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)]` 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 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 234 | gc: ProgramGC, [INFO] [stdout] | ^^ [INFO] [stdout] 235 | functions: Vec>, [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 { [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 { [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 { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 362 | statics: Arc>, [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(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 { [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>, [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 ProgramGC { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn allocate_uninit(&self) -> GcPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn allocate_init(&self, init: impl FnOnce(&mut MaybeUninit) -> &mut T) -> GcPtr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn register_stack_gcptr(&self, pointer: GcPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn drop_stack_gcptr(&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] 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>, 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: 29 warnings emitted [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) -> 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(&mut self, owned: Box) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn alloc_bytes(&mut self, bytes: usize) -> Result, Box> { [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)]` 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 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 234 | gc: ProgramGC, [INFO] [stdout] | ^^ [INFO] [stdout] 235 | functions: Vec>, [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 { [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 { [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 { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 362 | statics: Arc>, [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(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 { [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>, [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 ProgramGC { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn allocate_uninit(&self) -> GcPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn allocate_init(&self, init: impl FnOnce(&mut MaybeUninit) -> &mut T) -> GcPtr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn register_stack_gcptr(&self, pointer: GcPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn drop_stack_gcptr(&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] 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) -> 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>, ctx: &TypeCtx) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{alloc::GlobalAlloc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{alloc::GlobalAlloc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.60s [INFO] running `Command { std: "docker" "inspect" "5726a9c38d492fe93c3b46bf94ef26883ff563c24ef8c1ca5e49ff58794ea5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5726a9c38d492fe93c3b46bf94ef26883ff563c24ef8c1ca5e49ff58794ea5a6", kill_on_drop: false }` [INFO] [stdout] 5726a9c38d492fe93c3b46bf94ef26883ff563c24ef8c1ca5e49ff58794ea5a6