[INFO] fetching crate framealloc 0.11.1... [INFO] testing framealloc-0.11.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate framealloc 0.11.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate framealloc 0.11.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate framealloc 0.11.1 [INFO] tweaked toml for crates.io crate framealloc 0.11.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate framealloc 0.11.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate framealloc 0.11.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracy-client v0.17.6 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded bevy_utils_proc_macros v0.14.2 [INFO] [stderr] Downloaded generator v0.8.8 [INFO] [stderr] Downloaded bevy_ecs_macros v0.14.2 [INFO] [stderr] Downloaded loom v0.7.2 [INFO] [stderr] Downloaded bevy_derive v0.14.2 [INFO] [stderr] Downloaded bevy_app v0.14.2 [INFO] [stderr] Downloaded gpu-allocator v0.25.0 [INFO] [stderr] Downloaded cc v1.2.50 [INFO] [stderr] Downloaded windows-core v0.52.0 [INFO] [stderr] Downloaded ordered-float v5.1.0 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded glam v0.15.2 [INFO] [stderr] Downloaded glam v0.19.0 [INFO] [stderr] Downloaded glam v0.18.0 [INFO] [stderr] Downloaded glam v0.20.5 [INFO] [stderr] Downloaded glam v0.16.0 [INFO] [stderr] Downloaded glam v0.17.3 [INFO] [stderr] Downloaded rapier2d v0.31.0 [INFO] [stderr] Downloaded rapier3d v0.31.0 [INFO] [stderr] Downloaded glam v0.22.0 [INFO] [stderr] Downloaded glam v0.23.0 [INFO] [stderr] Downloaded glam v0.24.2 [INFO] [stderr] Downloaded tracy-client-sys v0.24.3 [INFO] [stderr] Downloaded glam v0.25.0 [INFO] [stderr] Downloaded glam v0.21.3 [INFO] [stderr] Downloaded bevy_ecs v0.14.2 [INFO] [stderr] Downloaded glam v0.27.0 [INFO] [stderr] Downloaded ash v0.37.3+1.3.251 [INFO] [stderr] Downloaded glam v0.28.0 [INFO] [stderr] Downloaded nalgebra v0.34.1 [INFO] [stderr] Downloaded parry3d v0.25.3 [INFO] [stderr] Downloaded simba v0.9.1 [INFO] [stderr] Downloaded parry2d v0.25.3 [INFO] [stderr] Downloaded bevy_macro_utils v0.14.2 [INFO] [stderr] Downloaded async-executor v1.13.3 [INFO] [stderr] Downloaded glam v0.29.3 [INFO] [stderr] Downloaded bevy_tasks v0.14.2 [INFO] [stderr] Downloaded bevy_utils v0.14.2 [INFO] [stderr] Downloaded nonmax v0.5.5 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded bevy_ptr v0.14.2 [INFO] [stderr] Downloaded downcast-rs v2.0.2 [INFO] [stderr] Downloaded nalgebra-macros v0.3.0 [INFO] [stderr] Downloaded glam v0.30.9 [INFO] [stderr] Downloaded windows v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8930230b83ddac434a75fba90ec4b44631e58480495a0fcbad36bc54d6eb252 [INFO] running `Command { std: "docker" "start" "-a" "c8930230b83ddac434a75fba90ec4b44631e58480495a0fcbad36bc54d6eb252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8930230b83ddac434a75fba90ec4b44631e58480495a0fcbad36bc54d6eb252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8930230b83ddac434a75fba90ec4b44631e58480495a0fcbad36bc54d6eb252", kill_on_drop: false }` [INFO] [stdout] c8930230b83ddac434a75fba90ec4b44631e58480495a0fcbad36bc54d6eb252 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68df7cf7998dd0ac8688f3e1231c1172fc2aec9f9b16a5a9b00ce244dfbc168 [INFO] running `Command { std: "docker" "start" "-a" "b68df7cf7998dd0ac8688f3e1231c1172fc2aec9f9b16a5a9b00ce244dfbc168", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling framealloc v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stdout] warning: unused imports: `fa_assert`, `fa_compile_error`, `fa_compile_warning`, `fa_debug`, `fa_diagnostic_ctx`, `fa_diagnostic`, `fa_emit_ctx`, and `fa_emit` [INFO] [stdout] --> src/diagnostics/macros.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | pub use crate::{fa_assert, fa_compile_error, fa_compile_warning, fa_debug, fa_diagnostic, fa_diagnostic_ctx, fa_emit, fa_emit_ctx}; [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: `DiagnosticKind` and `Diagnostic` [INFO] [stdout] --> src/diagnostics/mod.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | pub use kind::{Diagnostic, DiagnosticKind, DiagnosticCode, DiagnosticLevel}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollectingSink`, `DiagnosticSink`, `emit_with_context`, `emit`, `set_verbose`, and `suppress_diagnostics` [INFO] [stdout] --> src/diagnostics/mod.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub use emit::{emit, emit_with_context, suppress_diagnostics, set_verbose, DiagnosticSink, CollectingSink}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiagContext`, `frame_number`, `increment_frame`, `is_bevy_context`, and `set_bevy_context` [INFO] [stdout] --> src/diagnostics/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub use context::{DiagContext, set_bevy_context, is_bevy_context, increment_frame, frame_number}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StrictModeGuard`, `StrictMode`, `init_from_env`, `set_strict_mode`, and `strict_mode` [INFO] [stdout] --> src/diagnostics/mod.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub use strict::{StrictMode, set_strict_mode, strict_mode, StrictModeGuard, init_from_env}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FA001`, `FA002`, `FA003`, `FA101`, `FA102`, `FA201`, `FA202`, `FA301`, `FA302`, `FA401`, `FA402`, and `FA901` [INFO] [stdout] --> src/diagnostics/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub use kind::{FA001, FA002, FA003, FA101, FA102, FA201, FA202, FA301, FA302, FA401, FA402, FA901}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocKind`, `BehaviorFilter`, `BehaviorIssue`, `BehaviorReport`, `BehaviorThresholds`, `FA501`, `FA502`, `FA510`, `FA520`, `FA530`, and `TagBehaviorStats` [INFO] [stdout] --> src/diagnostics/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | AllocKind, BehaviorFilter, BehaviorIssue, BehaviorReport, BehaviorThresholds, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | TagBehaviorStats, FA501, FA502, FA510, FA520, FA530, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiagnosticsEvent`, `DiagnosticsHooks`, and `MemoryGraphData` [INFO] [stdout] --> src/diagnostics/mod.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub use hooks::{DiagnosticsHooks, DiagnosticsEvent, SharedDiagnostics, MemoryGraphData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatorSnapshot`, `FrameSnapshot`, `GlobalSnapshot`, `PoolSnapshot`, `SnapshotHistory`, `StreamingSnapshot`, and `TagSnapshot` [INFO] [stdout] --> src/diagnostics/mod.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub use snapshot::{AllocatorSnapshot, FrameSnapshot, PoolSnapshot, TagSnapshot, GlobalSnapshot, StreamingSnapshot, SnapshotHistory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryEvent`, `ProfilerHooks`, and `ProfilerZone` [INFO] [stdout] --> src/diagnostics/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub use tracy::{ProfilerHooks, ProfilerZone, MemoryEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::handles::*` [INFO] [stdout] --> src/handles.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::allocators::handles::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::streaming::*` [INFO] [stdout] --> src/streaming.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::allocators::streaming::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "b68df7cf7998dd0ac8688f3e1231c1172fc2aec9f9b16a5a9b00ce244dfbc168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68df7cf7998dd0ac8688f3e1231c1172fc2aec9f9b16a5a9b00ce244dfbc168", kill_on_drop: false }` [INFO] [stdout] b68df7cf7998dd0ac8688f3e1231c1172fc2aec9f9b16a5a9b00ce244dfbc168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3866827718cd164f345397ff41bed83c963b900f2f38e371bcc29a4f61cf925a [INFO] running `Command { std: "docker" "start" "-a" "3866827718cd164f345397ff41bed83c963b900f2f38e371bcc29a4f61cf925a", kill_on_drop: false }` [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling framealloc v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stdout] warning: unused imports: `fa_assert`, `fa_compile_error`, `fa_compile_warning`, `fa_debug`, `fa_diagnostic_ctx`, `fa_diagnostic`, `fa_emit_ctx`, and `fa_emit` [INFO] [stdout] --> src/diagnostics/macros.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | pub use crate::{fa_assert, fa_compile_error, fa_compile_warning, fa_debug, fa_diagnostic, fa_diagnostic_ctx, fa_emit, fa_emit_ctx}; [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: `DiagnosticKind` and `Diagnostic` [INFO] [stdout] --> src/diagnostics/mod.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | pub use kind::{Diagnostic, DiagnosticKind, DiagnosticCode, DiagnosticLevel}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollectingSink`, `DiagnosticSink`, `emit_with_context`, `emit`, `set_verbose`, and `suppress_diagnostics` [INFO] [stdout] --> src/diagnostics/mod.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub use emit::{emit, emit_with_context, suppress_diagnostics, set_verbose, DiagnosticSink, CollectingSink}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiagContext`, `frame_number`, `increment_frame`, `is_bevy_context`, and `set_bevy_context` [INFO] [stdout] --> src/diagnostics/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub use context::{DiagContext, set_bevy_context, is_bevy_context, increment_frame, frame_number}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StrictModeGuard`, `StrictMode`, `init_from_env`, `set_strict_mode`, and `strict_mode` [INFO] [stdout] --> src/diagnostics/mod.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub use strict::{StrictMode, set_strict_mode, strict_mode, StrictModeGuard, init_from_env}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FA001`, `FA002`, `FA003`, `FA101`, `FA102`, `FA201`, `FA202`, `FA301`, `FA302`, `FA401`, `FA402`, and `FA901` [INFO] [stdout] --> src/diagnostics/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub use kind::{FA001, FA002, FA003, FA101, FA102, FA201, FA202, FA301, FA302, FA401, FA402, FA901}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocKind`, `BehaviorFilter`, `BehaviorIssue`, `BehaviorReport`, `BehaviorThresholds`, `FA501`, `FA502`, `FA510`, `FA520`, `FA530`, and `TagBehaviorStats` [INFO] [stdout] --> src/diagnostics/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | AllocKind, BehaviorFilter, BehaviorIssue, BehaviorReport, BehaviorThresholds, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | TagBehaviorStats, FA501, FA502, FA510, FA520, FA530, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiagnosticsEvent`, `DiagnosticsHooks`, and `MemoryGraphData` [INFO] [stdout] --> src/diagnostics/mod.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub use hooks::{DiagnosticsHooks, DiagnosticsEvent, SharedDiagnostics, MemoryGraphData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatorSnapshot`, `FrameSnapshot`, `GlobalSnapshot`, `PoolSnapshot`, `SnapshotHistory`, `StreamingSnapshot`, and `TagSnapshot` [INFO] [stdout] --> src/diagnostics/mod.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub use snapshot::{AllocatorSnapshot, FrameSnapshot, PoolSnapshot, TagSnapshot, GlobalSnapshot, StreamingSnapshot, SnapshotHistory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryEvent`, `ProfilerHooks`, and `ProfilerZone` [INFO] [stdout] --> src/diagnostics/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub use tracy::{ProfilerHooks, ProfilerZone, MemoryEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::handles::*` [INFO] [stdout] --> src/handles.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::allocators::handles::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::streaming::*` [INFO] [stdout] --> src/streaming.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::allocators::streaming::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] error: expected identifier, found keyword `static` [INFO] [stdout] --> examples/rapier_physics.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | RigidBodyBuilder::static() [INFO] [stdout] | ^^^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `static` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 52 | RigidBodyBuilder::r#static() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rapier2d` [INFO] [stdout] --> examples/rapier_physics.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "rapier2d")] [INFO] [stdout] | ^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rapier"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bevy`, `coordinator`, `debug`, `default`, `diagnostics`, `gpu`, `gpu-vulkan`, `log`, `memory_filter`, `minimal`, `nightly`, `parking_lot`, `prefetch`, `rapier`, `tokio`, and `tracy` [INFO] [stdout] = help: consider adding `rapier2d` as a feature in `Cargo.toml` [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 value: `rapier3d` [INFO] [stdout] --> examples/rapier_physics.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "rapier3d")] [INFO] [stdout] | ^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rapier"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bevy`, `coordinator`, `debug`, `default`, `diagnostics`, `gpu`, `gpu-vulkan`, `log`, `memory_filter`, `minimal`, `nightly`, `parking_lot`, `prefetch`, `rapier`, `tokio`, and `tracy` [INFO] [stdout] = help: consider adding `rapier3d` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rapier2d` [INFO] [stdout] --> examples/rapier_physics.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "rapier2d")] [INFO] [stdout] | ^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rapier"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bevy`, `coordinator`, `debug`, `default`, `diagnostics`, `gpu`, `gpu-vulkan`, `log`, `memory_filter`, `minimal`, `nightly`, `parking_lot`, `prefetch`, `rapier`, `tokio`, and `tracy` [INFO] [stdout] = help: consider adding `rapier2d` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rapier3d` [INFO] [stdout] --> examples/rapier_physics.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "rapier3d")] [INFO] [stdout] | ^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rapier"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bevy`, `coordinator`, `debug`, `default`, `diagnostics`, `gpu`, `gpu-vulkan`, `log`, `memory_filter`, `minimal`, `nightly`, `parking_lot`, `prefetch`, `rapier`, `tokio`, and `tracy` [INFO] [stdout] = help: consider adding `rapier3d` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rapier2d` [INFO] [stdout] --> examples/rapier_physics.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(not(any(feature = "rapier2d", feature = "rapier3d")))] [INFO] [stdout] | ^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rapier"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bevy`, `coordinator`, `debug`, `default`, `diagnostics`, `gpu`, `gpu-vulkan`, `log`, `memory_filter`, `minimal`, `nightly`, `parking_lot`, `prefetch`, `rapier`, `tokio`, and `tracy` [INFO] [stdout] = help: consider adding `rapier2d` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rapier3d` [INFO] [stdout] --> examples/rapier_physics.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(not(any(feature = "rapier2d", feature = "rapier3d")))] [INFO] [stdout] | ^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rapier"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bevy`, `coordinator`, `debug`, `default`, `diagnostics`, `gpu`, `gpu-vulkan`, `log`, `memory_filter`, `minimal`, `nightly`, `parking_lot`, `prefetch`, `rapier`, `tokio`, and `tracy` [INFO] [stdout] = help: consider adding `rapier3d` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "rapier_physics") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `framealloc::Handle` [INFO] [stdout] --> examples/handle_allocation.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, Handle}; [INFO] [stdout] | ^^^^^^ no `Handle` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - use framealloc::{SmartAlloc, AllocConfig, Handle}; [INFO] [stdout] 5 + use framealloc::{SmartAlloc, AllocConfig, handles}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/01_hello_framealloc.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::SmartAlloc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/01_hello_framealloc.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let alloc = SmartAlloc::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/02_frame_loop.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::SmartAlloc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/02_frame_loop.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let alloc = SmartAlloc::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/02_frame_loop.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | fn render_frame(alloc: &SmartAlloc, state: &GameState, frame: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/01_hello_framealloc.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let numbers = alloc.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 18 | let numbers = alloc.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/02_frame_loop.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let input_events = alloc.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 65 | let input_events = alloc.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/01_hello_framealloc.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | numbers.push(i * 2); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, i32>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, i32>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 22 | numbers.expect("REASON").push(i * 2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> examples/01_hello_framealloc.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | println!("Message: {}", message); [INFO] [stdout] | -- ^^^^^^^ `Option>` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `framealloc::api::frame_collections::FrameVec<'_, i32>` doesn't implement `Debug` [INFO] [stdout] --> examples/01_hello_framealloc.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | println!("Numbers: {:?}", numbers.as_slice()); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ `framealloc::api::frame_collections::FrameVec<'_, i32>` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `framealloc::api::frame_collections::FrameVec<'_, i32>` [INFO] [stdout] help: the following other types implement trait `Debug` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/array/mod.rs:354:0 [INFO] [stdout] | [INFO] [stdout] = note: `[T; N]` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/mod.rs:3115:0 [INFO] [stdout] | [INFO] [stdout] = note: `[T]` [INFO] [stdout] = note: required for `[framealloc::api::frame_collections::FrameVec<'_, i32>]` to implement `Debug` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&[framealloc::api::frame_collections::FrameVec<'_, i32>]` to implement `Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/handle_allocation.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, Handle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/handle_allocation.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, Handle}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/handle_allocation.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/handle_allocation.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `framealloc::AllocatorBackend`, `framealloc::AllocationResult` [INFO] [stdout] --> examples/06_custom_allocator.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, AllocatorBackend, AllocationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `AllocationResult` in the root [INFO] [stdout] | | [INFO] [stdout] | no `AllocatorBackend` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - use framealloc::{SmartAlloc, AllocConfig, AllocatorBackend, AllocationResult}; [INFO] [stdout] 5 + use framealloc::{SmartAlloc, AllocConfig, AllocatorBackend, AllocationIntent}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/01_hello_framealloc.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | let frame_data = alloc.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 39 | let frame_data = alloc.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layout` [INFO] [stdout] --> examples/06_custom_allocator.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use std::alloc::{GlobalAlloc, Layout, System}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/01_hello_framealloc.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | frame_data.push(format!("Item {} from frame {}", i, frame)); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, String>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, String>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 41 | frame_data.expect("REASON").push(format!("Item {} from frame {}", i, frame)); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `api` is private [INFO] [stdout] --> examples/allocation_groups.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | use framealloc::api::groups::GroupHandle; [INFO] [stdout] | ^^^ ------ module `groups` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `api` is defined here [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | mod api; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/01_hello_framealloc.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | println!("Frame {}: {} items", frame, frame_data.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `framealloc::api::frame_collections::FrameVec<'_, String>` [INFO] [stdout] --> src/api/frame_collections.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, String>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 44 | println!("Frame {}: {} items", frame, frame_data.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/allocation_groups.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/allocation_groups.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/allocation_groups.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/allocation_groups.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/02_frame_loop.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | input_events.push(InputEvent::Jump); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, InputEvent>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, InputEvent>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 67 | input_events.expect("REASON").push(InputEvent::Jump); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TransferHandle` in crate `framealloc` [INFO] [stdout] --> examples/04_threading.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | receiver: mpsc::Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `framealloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/02_frame_loop.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 76 | match event { [INFO] [stdout] | ----- this expression has type `&framealloc::api::frame_collections::FrameVec<'_, InputEvent>` [INFO] [stdout] 77 | InputEvent::Jump => game_state.player_y += 5.0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `FrameVec<'_, InputEvent>`, found `InputEvent` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `framealloc::api::frame_collections::FrameVec<'_, InputEvent>` [INFO] [stdout] found enum `InputEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/02_frame_loop.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let commands = alloc.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 121 | let commands = alloc.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::SmartAlloc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | fn simulate_physics(alloc: &SmartAlloc, budget: &mut BudgetManager) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | fn simulate_rendering(alloc: &SmartAlloc, budget: &mut BudgetManager) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | fn simulate_audio(alloc: &SmartAlloc, budget: &mut BudgetManager) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | fn simulate_ai(alloc: &SmartAlloc, budget: &mut BudgetManager) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | fn simulate_network(alloc: &SmartAlloc, budget: &mut BudgetManager) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let alloc = SmartAlloc::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/05_tags_and_budgets.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | let alloc = SmartAlloc::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/04_threading.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::SmartAlloc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/04_threading.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | alloc: SmartAlloc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/04_threading.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let alloc = SmartAlloc::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/04_threading.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let alloc = SmartAlloc::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/02_frame_loop.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | commands.push(RenderCommand::DrawCircle { [INFO] [stdout] | ---------^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 124 | commands.expect("REASON").push(RenderCommand::DrawCircle { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/03_pools_and_heaps.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::SmartAlloc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/03_pools_and_heaps.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let alloc = SmartAlloc::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fa_assert`, `fa_compile_error`, `fa_compile_warning`, `fa_debug`, `fa_diagnostic_ctx`, `fa_diagnostic`, `fa_emit_ctx`, and `fa_emit` [INFO] [stdout] --> src/diagnostics/macros.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | pub use crate::{fa_assert, fa_compile_error, fa_compile_warning, fa_debug, fa_diagnostic, fa_diagnostic_ctx, fa_emit, fa_emit_ctx}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> examples/07_batch_optimization.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 201 | struct ParticleSystemSoA { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 204 | colors: FrameBox<[[u8; 4]>>, [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] 205 | lives: FrameBox<[f32]>, [INFO] [stdout] 206 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stdout] warning: unused imports: `DiagnosticKind` and `Diagnostic` [INFO] [stdout] --> src/diagnostics/mod.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | pub use kind::{Diagnostic, DiagnosticKind, DiagnosticCode, DiagnosticLevel}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stdout] error[E0277]: the trait bound `Contact: Default` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let contacts = a.frame_slice::(100); [INFO] [stdout] | ----------- ^^^^^^^ the trait `Default` is not implemented for `Contact` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Contact` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 295 + #[derive(Default)] [INFO] [stdout] 296 | struct Contact { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stdout] error[E0277]: the trait bound `Contact: Clone` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let contacts = a.frame_slice::(100); [INFO] [stdout] | ----------- ^^^^^^^ the trait `Clone` is not implemented for `Contact` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:37 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Contact` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 295 + #[derive(Clone)] [INFO] [stdout] 296 | struct Contact { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stdout] error[E0608]: cannot index into a value of type `Option>` [INFO] [stdout] --> examples/05_tags_and_budgets.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | contacts[i] = Contact::new(i as f32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/02_frame_loop.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | commands.push(RenderCommand::DrawRect { [INFO] [stdout] | ---------^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 133 | commands.expect("REASON").push(RenderCommand::DrawRect { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "01_hello_framealloc") due to 7 previous errors; 2 warnings emitted [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:113:65 [INFO] [stdout] | [INFO] [stdout] 113 | println!("Physics: Processed {} contacts", contacts.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `FrameSlice<'_, Contact>` [INFO] [stdout] --> src/api/wrappers.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `FrameSlice<'_, Contact>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 113 | println!("Physics: Processed {} contacts", contacts.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vector3: Default` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 118 | let forces = a.frame_slice::(50); [INFO] [stdout] | ----------- ^^^^^^^ the trait `Default` is not implemented for `Vector3` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Vector3` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 310 + #[derive(Default)] [INFO] [stdout] 311 | struct Vector3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vector3: Clone` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 118 | let forces = a.frame_slice::(50); [INFO] [stdout] | ----------- ^^^^^^^ the trait `Clone` is not implemented for `Vector3` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:37 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Vector3` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 310 + #[derive(Clone)] [INFO] [stdout] 311 | struct Vector3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollectingSink`, `DiagnosticSink`, `emit_with_context`, `emit`, `set_verbose`, and `suppress_diagnostics` [INFO] [stdout] --> src/diagnostics/mod.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub use emit::{emit, emit_with_context, suppress_diagnostics, set_verbose, DiagnosticSink, CollectingSink}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Option>` [INFO] [stdout] --> examples/05_tags_and_budgets.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | forces[i] = Vector3::new(0.0, -9.81, 0.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Vector3` in the current scope [INFO] [stdout] --> examples/05_tags_and_budgets.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | forces[i] = Vector3::new(0.0, -9.81, 0.0); [INFO] [stdout] | ^^^ function or associated item not found in `Vector3` [INFO] [stdout] ... [INFO] [stdout] 310 | struct Vector3 { [INFO] [stdout] | -------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | println!("Physics: Applied {} forces", forces.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `FrameSlice<'_, Vector3>` [INFO] [stdout] --> src/api/wrappers.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `FrameSlice<'_, Vector3>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 122 | println!("Physics: Applied {} forces", forces.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "allocation_groups") due to 1 previous error; 4 warnings emitted [INFO] [stdout] warning: unused imports: `DiagContext`, `frame_number`, `increment_frame`, `is_bevy_context`, and `set_bevy_context` [INFO] [stdout] --> src/diagnostics/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub use context::{DiagContext, set_bevy_context, is_bevy_context, increment_frame, frame_number}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vertex: Default` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:131:44 [INFO] [stdout] | [INFO] [stdout] 131 | let vertices = a.frame_slice::(65536); [INFO] [stdout] | ----------- ^^^^^^ the trait `Default` is not implemented for `Vertex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Vertex` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 317 + #[derive(Default)] [INFO] [stdout] 318 | struct Vertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::mpsc::Receiver` in the current scope [INFO] [stdout] --> examples/04_threading.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | let work_rx = work_rx.clone(); [INFO] [stdout] | ^^^^^ method not found in `std::sync::mpsc::Receiver<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/06_custom_allocator.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, AllocatorBackend, AllocationResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/06_custom_allocator.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, AllocatorBackend, AllocationResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vertex: Clone` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:131:44 [INFO] [stdout] | [INFO] [stdout] 131 | let vertices = a.frame_slice::(65536); [INFO] [stdout] | ----------- ^^^^^^ the trait `Clone` is not implemented for `Vertex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:37 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Vertex` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 317 + #[derive(Clone)] [INFO] [stdout] 318 | struct Vertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Option>` [INFO] [stdout] --> examples/05_tags_and_budgets.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | vertices[i] = Vertex::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:138:67 [INFO] [stdout] | [INFO] [stdout] 138 | println!("Rendering: Generated {} vertices", vertices.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `FrameSlice<'_, Vertex>` [INFO] [stdout] --> src/api/wrappers.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `FrameSlice<'_, Vertex>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 138 | println!("Rendering: Generated {} vertices", vertices.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | let commands = a.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 143 | let commands = a.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `framealloc::AllocStats::total_allocated`: framealloc is deprecated. Use `memkit::MkStats` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | println!(" Total allocated: {} bytes", stats.total_allocated); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `framealloc::AllocStats::peak_allocated`: framealloc is deprecated. Use `memkit::MkStats` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | println!(" Peak allocated: {} bytes", stats.peak_allocated); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StrictModeGuard`, `StrictMode`, `init_from_env`, `set_strict_mode`, and `strict_mode` [INFO] [stdout] --> src/diagnostics/mod.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub use strict::{StrictMode, set_strict_mode, strict_mode, StrictModeGuard, init_from_env}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `framealloc::AllocStats::allocation_count`: framealloc is deprecated. Use `memkit::MkStats` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | println!(" Allocation count: {}", stats.allocation_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FA001`, `FA002`, `FA003`, `FA101`, `FA102`, `FA201`, `FA202`, `FA301`, `FA302`, `FA401`, `FA402`, and `FA901` [INFO] [stdout] --> src/diagnostics/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub use kind::{FA001, FA002, FA003, FA101, FA102, FA201, FA202, FA301, FA302, FA401, FA402, FA901}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `framealloc::AllocStats::deallocation_count`: framealloc is deprecated. Use `memkit::MkStats` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/basic_usage.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | println!(" Deallocation count: {}", stats.deallocation_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocKind`, `BehaviorFilter`, `BehaviorIssue`, `BehaviorReport`, `BehaviorThresholds`, `FA501`, `FA502`, `FA510`, `FA520`, `FA530`, and `TagBehaviorStats` [INFO] [stdout] --> src/diagnostics/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | AllocKind, BehaviorFilter, BehaviorIssue, BehaviorReport, BehaviorThresholds, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | TagBehaviorStats, FA501, FA502, FA510, FA520, FA530, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/05_tags_and_budgets.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | commands.push(DrawCommand::DrawMesh { [INFO] [stdout] | ---------^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, DrawCommand>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, DrawCommand>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 145 | commands.expect("REASON").push(DrawCommand::DrawMesh { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiagnosticsEvent`, `DiagnosticsHooks`, and `MemoryGraphData` [INFO] [stdout] --> src/diagnostics/mod.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub use hooks::{DiagnosticsHooks, DiagnosticsEvent, SharedDiagnostics, MemoryGraphData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatorSnapshot`, `FrameSnapshot`, `GlobalSnapshot`, `PoolSnapshot`, `SnapshotHistory`, `StreamingSnapshot`, and `TagSnapshot` [INFO] [stdout] --> src/diagnostics/mod.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub use snapshot::{AllocatorSnapshot, FrameSnapshot, PoolSnapshot, TagSnapshot, GlobalSnapshot, StreamingSnapshot, SnapshotHistory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryEvent`, `ProfilerHooks`, and `ProfilerZone` [INFO] [stdout] --> src/diagnostics/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub use tracy::{ProfilerHooks, ProfilerZone, MemoryEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> examples/05_tags_and_budgets.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | commands.push(DrawCommand::DrawMesh { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `DrawMesh` implemented for `DrawCommand`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 145 - commands.push(DrawCommand::DrawMesh { [INFO] [stdout] 145 + commands.push(::DrawMesh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::handles::*` [INFO] [stdout] --> src/handles.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::allocators::handles::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::streaming::*` [INFO] [stdout] --> src/streaming.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::allocators::streaming::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:150:62 [INFO] [stdout] | [INFO] [stdout] 150 | println!("Rendering: {} draw commands", commands.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `framealloc::api::frame_collections::FrameVec<'_, DrawCommand>` [INFO] [stdout] --> src/api/frame_collections.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, DrawCommand>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 150 | println!("Rendering: {} draw commands", commands.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Option>` [INFO] [stdout] --> examples/05_tags_and_budgets.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | buffer[i] = (i as f32 * 0.01).sin(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:163:66 [INFO] [stdout] | [INFO] [stdout] 163 | println!("Audio: Generated {} audio samples", buffer.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `FrameSlice<'_, f32>` [INFO] [stdout] --> src/api/wrappers.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `FrameSlice<'_, f32>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 163 | println!("Audio: Generated {} audio samples", buffer.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/06_custom_allocator.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | let config = AllocConfig::default() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/06_custom_allocator.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | let alloc = SmartAlloc::new(config); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | let sounds = a.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 168 | let sounds = a.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/04_threading.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let data = alloc.frame_vec(); [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 104 | let data = alloc.frame_vec(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/05_tags_and_budgets.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | sounds.push(ActiveSound { [INFO] [stdout] | -------^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, ActiveSound>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, ActiveSound>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 170 | sounds.expect("REASON").push(ActiveSound { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | println!("Audio: {} active sounds", sounds.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `framealloc::api::frame_collections::FrameVec<'_, ActiveSound>` [INFO] [stdout] --> src/api/frame_collections.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, ActiveSound>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 176 | println!("Audio: {} active sounds", sounds.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathNode: Default` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | let nodes = a.frame_slice::(1000); [INFO] [stdout] | ----------- ^^^^^^^^ the trait `Default` is not implemented for `PathNode` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `PathNode` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 351 + #[derive(Default)] [INFO] [stdout] 352 | struct PathNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathNode: Clone` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | let nodes = a.frame_slice::(1000); [INFO] [stdout] | ----------- ^^^^^^^^ the trait `Clone` is not implemented for `PathNode` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:37 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `PathNode` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 351 + #[derive(Clone)] [INFO] [stdout] 352 | struct PathNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Option>` [INFO] [stdout] --> examples/05_tags_and_budgets.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | nodes[i] = PathNode::new(i % 100, i / 100); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/04_threading.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | data.push((i * 100 + j) as f32); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, _>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, _>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 106 | data.expect("REASON").push((i * 100 + j) as f32); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:189:59 [INFO] [stdout] | [INFO] [stdout] 189 | println!("AI: Processed {} path nodes", nodes.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `FrameSlice<'_, PathNode>` [INFO] [stdout] --> src/api/wrappers.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `FrameSlice<'_, PathNode>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 189 | println!("AI: Processed {} path nodes", nodes.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | let trees = a.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 194 | let trees = a.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/05_tags_and_budgets.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | trees.push(BehaviorTree::new(i)); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, BehaviorTree>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, BehaviorTree>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 196 | trees.expect("REASON").push(BehaviorTree::new(i)); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | println!("AI: {} behavior trees", trees.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `framealloc::api::frame_collections::FrameVec<'_, BehaviorTree>` [INFO] [stdout] --> src/api/frame_collections.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, BehaviorTree>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 198 | println!("AI: {} behavior trees", trees.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stdout] error[E0277]: the trait bound `Packet: Default` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | let packets = a.frame_slice::(100); [INFO] [stdout] | ----------- ^^^^^^ the trait `Default` is not implemented for `Packet` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Packet` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 374 + #[derive(Default)] [INFO] [stdout] 375 | struct Packet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stdout] error[E0599]: no method named `into_inner` found for enum `Option` in the current scope [INFO] [stdout] --> examples/04_threading.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | data: data.into_inner(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 111 - data: data.into_inner(), [INFO] [stdout] 111 + data: data.into_iter(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stdout] error[E0277]: the trait bound `Packet: Clone` is not satisfied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | let packets = a.frame_slice::(100); [INFO] [stdout] | ----------- ^^^^^^ the trait `Clone` is not implemented for `Packet` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SmartAlloc::frame_slice` [INFO] [stdout] --> src/api/alloc.rs:429:37 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn frame_slice(&self, len: usize) -> Option> { [INFO] [stdout] | ^^^^^ required by this bound in `SmartAlloc::frame_slice` [INFO] [stdout] help: consider annotating `Packet` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 374 + #[derive(Clone)] [INFO] [stdout] 375 | struct Packet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stdout] error[E0608]: cannot index into a value of type `Option>` [INFO] [stdout] --> examples/05_tags_and_budgets.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | packets[i] = Packet::new(i, format!("Data {}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/05_tags_and_budgets.rs:211:63 [INFO] [stdout] | [INFO] [stdout] 211 | println!("Network: Processed {} packets", packets.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `FrameSlice<'_, Packet>` [INFO] [stdout] --> src/api/wrappers.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `FrameSlice<'_, Packet>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 211 | println!("Network: Processed {} packets", packets.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/02_frame_loop.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | commands.push(RenderCommand::DrawText { [INFO] [stdout] | ---------^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 143 | commands.expect("REASON").push(RenderCommand::DrawText { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/02_frame_loop.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("Rendering {} commands", commands.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` [INFO] [stdout] --> src/api/frame_collections.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, RenderCommand>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 152 | println!("Rendering {} commands", commands.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "07_batch_optimization") due to 1 previous error [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> examples/02_frame_loop.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | for (x, y) in &mut self.enemies { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_thread_frame_budget` found for struct `SmartAlloc` in the current scope [INFO] [stdout] --> examples/05_tags_and_budgets.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | alloc.set_thread_frame_budget(512 * 1024); // 512KB per thread [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `SmartAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/05_tags_and_budgets.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | let data = alloc_clone.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 270 | let data = alloc_clone.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/05_tags_and_budgets.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | data.push((i % 256) as u8); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, u8>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, u8>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 274 | data.expect("REASON").push((i % 256) as u8); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stdout] error[E0599]: no method named `frame_box_for_transfer` found for struct `SmartAlloc` in the current scope [INFO] [stdout] --> examples/04_threading.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | let transfer_handle = alloc.frame_box_for_transfer(work_item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `SmartAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "02_frame_loop") due to 8 previous errors; 4 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0061, E0223, E0277, E0599, E0608, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "handle_allocation") due to 1 previous error; 4 warnings emitted [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use framealloc::{AllocConfig, SmartAlloc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/04_threading.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | while results.len() < num_items { [INFO] [stdout] | ------------- ^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 129 | while results.len() < num_items.try_into().unwrap() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use framealloc::{AllocConfig, SmartAlloc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let alloc1 = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let alloc1 = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | let alloc = Arc::new(SmartAlloc::new(AllocConfig::default())); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | let alloc = Arc::new(SmartAlloc::new(AllocConfig::default())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | let alloc = Arc::new(SmartAlloc::new(AllocConfig::default())); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | let alloc = Arc::new(SmartAlloc::new(AllocConfig::default())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | let alloc = Arc::new(SmartAlloc::new(AllocConfig::default())); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:238:42 [INFO] [stdout] | [INFO] [stdout] 238 | let alloc = Arc::new(SmartAlloc::new(AllocConfig::default())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:283:33 [INFO] [stdout] | [INFO] [stdout] 283 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | let alloc = SmartAlloc::new(AllocConfig::minimal()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:299:33 [INFO] [stdout] | [INFO] [stdout] 299 | let alloc = SmartAlloc::new(AllocConfig::minimal()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let alloc = SmartAlloc::new(AllocConfig::high_performance()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | let alloc = SmartAlloc::new(AllocConfig::high_performance()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/04_threading.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | let local_data = alloc_clone.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 173 | let local_data = alloc_clone.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `&Option>` [INFO] [stdout] --> examples/03_pools_and_heaps.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | entity.id, entity.health, entity.x, entity.y); [INFO] [stdout] | ^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `health` on type `&Option>` [INFO] [stdout] --> examples/03_pools_and_heaps.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | entity.id, entity.health, entity.x, entity.y); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `x` on type `&Option>` [INFO] [stdout] --> examples/03_pools_and_heaps.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | entity.id, entity.health, entity.x, entity.y); [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `y` on type `&Option>` [INFO] [stdout] --> examples/03_pools_and_heaps.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | entity.id, entity.health, entity.x, entity.y); [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Option>` [INFO] [stdout] --> examples/03_pools_and_heaps.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | name, texture.width, texture.height, texture.data.len()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 89 | name, texture.unwrap().width, texture.height, texture.data.len()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Option>` [INFO] [stdout] --> examples/03_pools_and_heaps.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | name, texture.width, texture.height, texture.data.len()); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 89 | name, texture.width, texture.unwrap().height, texture.data.len()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `Option>` [INFO] [stdout] --> examples/03_pools_and_heaps.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | name, texture.width, texture.height, texture.data.len()); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 89 | name, texture.width, texture.height, texture.unwrap().data.len()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/04_threading.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | local_data.push(thread_id * 1000 + i); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, u32>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, u32>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 175 | local_data.expect("REASON").push(thread_id * 1000 + i); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "06_custom_allocator") due to 1 previous error; 5 warnings emitted [INFO] [stdout] error[E0432]: unresolved import `framealloc::StreamPriority` [INFO] [stdout] --> examples/streaming_assets.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, StreamPriority}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `StreamPriority` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `u32` cannot be made by summing an iterator over elements of type `&framealloc::api::frame_collections::FrameVec<'_, u32>` [INFO] [stdout] --> examples/04_threading.rs:181:46 [INFO] [stdout] | [INFO] [stdout] 181 | let sum: u32 = local_data.iter().sum(); [INFO] [stdout] | ^^^ value of type `u32` cannot be made by summing a `std::iter::Iterator>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sum<&framealloc::api::frame_collections::FrameVec<'_, u32>>` is not implemented for `u32` [INFO] [stdout] help: the following other types implement trait `Sum` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/iter/traits/accum.rs:48:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sum` [INFO] [stdout] ::: /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/iter/traits/accum.rs:70:8 [INFO] [stdout] | [INFO] [stdout] = note: `u32` implements `Sum<&u32>` [INFO] [stdout] ::: /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/iter/traits/accum.rs:204:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/iter/traits/iterator.rs:3669:4 [INFO] [stdout] = note: this error originates in the macro `integer_sum_product` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stdout] warning: use of deprecated field `framealloc::AllocStats::allocation_count`: framealloc is deprecated. Use `memkit::MkStats` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(stats_after.allocation_count >= stats_before.allocation_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stdout] warning: use of deprecated field `framealloc::AllocStats::allocation_count`: framealloc is deprecated. Use `memkit::MkStats` instead (available in memkit 0.12+) [INFO] [stdout] --> tests/integration_tests.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(stats_after.allocation_count >= stats_before.allocation_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/streaming_assets.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, StreamPriority}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/streaming_assets.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use framealloc::{SmartAlloc, AllocConfig, StreamPriority}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stdout] warning: use of deprecated struct `framealloc::SmartAlloc`: framealloc is deprecated. Use `memkit::MkAllocator` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/streaming_assets.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stdout] warning: use of deprecated struct `framealloc::AllocConfig`: framealloc is deprecated. Use `memkit::MkConfig` instead (available in memkit 0.12+) [INFO] [stdout] --> examples/streaming_assets.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | let alloc = SmartAlloc::new(AllocConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "04_threading") due to 10 previous errors; 4 warnings emitted [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "05_tags_and_budgets") due to 36 previous errors; 8 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "streaming_assets") due to 1 previous error; 4 warnings emitted [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/03_pools_and_heaps.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let temp_data = alloc.frame_vec::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/api/alloc.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn frame_vec(&self, capacity: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 101 | let temp_data = alloc.frame_vec::(/* usize */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope [INFO] [stdout] --> examples/03_pools_and_heaps.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | temp_data.push(i); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push` exists on the type `framealloc::api::frame_collections::FrameVec<'_, u32>` [INFO] [stdout] --> src/api/frame_collections.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn push(&mut self, value: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, u32>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 103 | temp_data.expect("REASON").push(i); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/03_pools_and_heaps.rs:105:66 [INFO] [stdout] | [INFO] [stdout] 105 | println!("Frame allocation: {} items (temporary)", temp_data.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `framealloc::api::frame_collections::FrameVec<'_, u32>` [INFO] [stdout] --> src/api/frame_collections.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::frame_collections::FrameVec<'_, u32>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 105 | println!("Frame allocation: {} items (temporary)", temp_data.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/03_pools_and_heaps.rs:109:73 [INFO] [stdout] | [INFO] [stdout] 109 | println!("Pool allocation: {} items (persistent, small)", pool_data.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `PoolBox>` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/vec/mod.rs:3015:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `PoolBox>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 109 | println!("Pool allocation: {} items (persistent, small)", pool_data.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `len` is private [INFO] [stdout] --> examples/03_pools_and_heaps.rs:113:73 [INFO] [stdout] | [INFO] [stdout] 113 | println!("Heap allocation: {} bytes (persistent, large)", heap_data.len()); [INFO] [stdout] | ^^^ private method [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:810:4 [INFO] [stdout] | [INFO] [stdout] = note: private method defined here [INFO] [stdout] note: the method `len` exists on the type `framealloc::api::wrappers::HeapBox>` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/vec/mod.rs:3015:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `framealloc::api::wrappers::HeapBox>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 113 | println!("Heap allocation: {} bytes (persistent, large)", heap_data.expect("REASON").len()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pool_arc` found for struct `SmartAlloc` in the current scope [INFO] [stdout] --> examples/03_pools_and_heaps.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let shared_data = alloc.pool_arc(String::from("Shared configuration")); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `pool_alloc` with a similar name, but with different arguments [INFO] [stdout] --> src/api/alloc.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn pool_alloc(&self) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599, E0609, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Tip: Enable 'debug' feature for memory poisoning and allocation tracking: [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] framealloc = { version = "0.1", features = ["debug"] } [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ framealloc Quick Reference [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Frame allocation (fastest, reset per frame): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.begin_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let data = alloc.frame_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] alloc.end_frame(); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Pool allocation (small objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let boxed = alloc.pool_box(value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] Heap allocation (large objects, auto-freed): [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] let large = alloc.heap_box(large_value); [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ──────────────────────────────────────── [INFO] [stderr] warning: framealloc@0.11.1: [framealloc] ℹ️ Building for Linux [INFO] [stderr] error: could not compile `framealloc` (example "03_pools_and_heaps") due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3866827718cd164f345397ff41bed83c963b900f2f38e371bcc29a4f61cf925a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3866827718cd164f345397ff41bed83c963b900f2f38e371bcc29a4f61cf925a", kill_on_drop: false }` [INFO] [stdout] 3866827718cd164f345397ff41bed83c963b900f2f38e371bcc29a4f61cf925a