[INFO] cloning repository https://github.com/LemonHX/cgc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LemonHX/cgc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Fcgc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Fcgc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0852f0d06c9f56ebe2b762749b057b685b4e2a0 [INFO] building LemonHX/cgc-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Fcgc-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LemonHX/cgc-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LemonHX/cgc-rs [INFO] finished tweaking git repo https://github.com/LemonHX/cgc-rs [INFO] tweaked toml for git repo https://github.com/LemonHX/cgc-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LemonHX/cgc-rs 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f8d14b7372aa3d85f271dd732a52191838746c9f0375cb98c217e9e30422758 [INFO] running `Command { std: "docker" "start" "-a" "0f8d14b7372aa3d85f271dd732a52191838746c9f0375cb98c217e9e30422758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f8d14b7372aa3d85f271dd732a52191838746c9f0375cb98c217e9e30422758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f8d14b7372aa3d85f271dd732a52191838746c9f0375cb98c217e9e30422758", kill_on_drop: false }` [INFO] [stdout] 0f8d14b7372aa3d85f271dd732a52191838746c9f0375cb98c217e9e30422758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0853710d574c624111d05b749d3734a85e090d641b1b157de47a277589c9c6 [INFO] running `Command { std: "docker" "start" "-a" "6d0853710d574c624111d05b749d3734a85e090d641b1b157de47a277589c9c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cgc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::frame::GCFrame` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::frame::GCFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intrinsics::size_of` [INFO] [stdout] --> src/frame.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | intrinsics::size_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyMonitoring` is never constructed [INFO] [stdout] --> src/state.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct DummyMonitoring {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GCStage` is never used [INFO] [stdout] --> src/state.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum GCStage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MinorGCStage` is never used [INFO] [stdout] --> src/state.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | enum MinorGCStage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GCConfig { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | thread_pool_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | minor_gc_trigger_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | minor_heap_size_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | major_heap_liveness: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | major_gc_pacer_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | major_heap_size_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | enable_imm_gen: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | imm_liveness: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/state.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 103 | /// TODO: discuss if we can change it in runtime [INFO] [stdout] 104 | pub(crate) config: GCConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | pub(crate) rayon_pool: rayon::ThreadPool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) start_minor_gc_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub(crate) start_major_gc_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) minor_heap_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | /// the size of major_heap generation [INFO] [stdout] 117 | pub(crate) major_heap_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | /// the size of imm generation [INFO] [stdout] 119 | pub(crate) imm_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | /// the size of total heap [INFO] [stdout] 121 | pub(crate) total_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) current_frame_count: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub(crate) minor_heap_roots: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | pub(crate) minor_heap_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub(crate) minor_heap_marked: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | pub(crate) minor_heap_dead: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub(crate) major_heap_roots: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | pub(crate) major_heap_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | pub(crate) major_heap_marked: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub(crate) major_heap_rescan_list: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) imm_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadPool` is never constructed [INFO] [stdout] --> src/state.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `registed_gc_objects`, and `escaped_gc_objects` are never read [INFO] [stdout] --> src/frame.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GCFrame { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 17 | state: &'static State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | registed_gc_objects: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | escaped_gc_objects: *mut GCHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `allocate_gc_cell` is never used [INFO] [stdout] --> src/frame.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl GCFrame { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 23 | pub(crate) fn allocate_gc_cell(&self, value: T) -> GCCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame` and `value` are never read [INFO] [stdout] --> src/gc_box.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GCBox { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | frame: &'static GCFrame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | value: GCCell, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gc_box.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl GCBox { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 13 | fn new(frame: &'static GCFrame, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GCCellLayout` is never constructed [INFO] [stdout] --> src/gc_box.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct GCCellLayout { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/gc_box.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 99 | impl GCHeader { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 100 | pub(crate) fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "6d0853710d574c624111d05b749d3734a85e090d641b1b157de47a277589c9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0853710d574c624111d05b749d3734a85e090d641b1b157de47a277589c9c6", kill_on_drop: false }` [INFO] [stdout] 6d0853710d574c624111d05b749d3734a85e090d641b1b157de47a277589c9c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e18ac52fe94d9187568e274643cf17660dbe267246f91a735d317eaaf08da472 [INFO] running `Command { std: "docker" "start" "-a" "e18ac52fe94d9187568e274643cf17660dbe267246f91a735d317eaaf08da472", kill_on_drop: false }` [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::frame::GCFrame` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::frame::GCFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intrinsics::size_of` [INFO] [stdout] --> src/frame.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | intrinsics::size_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cgc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyMonitoring` is never constructed [INFO] [stdout] --> src/state.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct DummyMonitoring {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GCStage` is never used [INFO] [stdout] --> src/state.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum GCStage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MinorGCStage` is never used [INFO] [stdout] --> src/state.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | enum MinorGCStage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GCConfig { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | thread_pool_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | minor_gc_trigger_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | minor_heap_size_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | major_heap_liveness: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | major_gc_pacer_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | major_heap_size_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | enable_imm_gen: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | imm_liveness: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/state.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 103 | /// TODO: discuss if we can change it in runtime [INFO] [stdout] 104 | pub(crate) config: GCConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | pub(crate) rayon_pool: rayon::ThreadPool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) start_minor_gc_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub(crate) start_major_gc_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) minor_heap_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | /// the size of major_heap generation [INFO] [stdout] 117 | pub(crate) major_heap_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | /// the size of imm generation [INFO] [stdout] 119 | pub(crate) imm_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | /// the size of total heap [INFO] [stdout] 121 | pub(crate) total_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) current_frame_count: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub(crate) minor_heap_roots: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | pub(crate) minor_heap_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub(crate) minor_heap_marked: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | pub(crate) minor_heap_dead: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub(crate) major_heap_roots: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | pub(crate) major_heap_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | pub(crate) major_heap_marked: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub(crate) major_heap_rescan_list: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) imm_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadPool` is never constructed [INFO] [stdout] --> src/state.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `registed_gc_objects`, and `escaped_gc_objects` are never read [INFO] [stdout] --> src/frame.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GCFrame { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 17 | state: &'static State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | registed_gc_objects: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | escaped_gc_objects: *mut GCHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `allocate_gc_cell` is never used [INFO] [stdout] --> src/frame.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl GCFrame { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 23 | pub(crate) fn allocate_gc_cell(&self, value: T) -> GCCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame` and `value` are never read [INFO] [stdout] --> src/gc_box.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GCBox { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | frame: &'static GCFrame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | value: GCCell, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gc_box.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl GCBox { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 13 | fn new(frame: &'static GCFrame, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GCCellLayout` is never constructed [INFO] [stdout] --> src/gc_box.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct GCCellLayout { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/gc_box.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 99 | impl GCHeader { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 100 | pub(crate) fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::frame::GCFrame` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::frame::GCFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intrinsics::size_of` [INFO] [stdout] --> src/frame.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | intrinsics::size_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyMonitoring` is never constructed [INFO] [stdout] --> src/state.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct DummyMonitoring {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GCStage` is never used [INFO] [stdout] --> src/state.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum GCStage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MinorGCStage` is never used [INFO] [stdout] --> src/state.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | enum MinorGCStage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GCConfig { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | thread_pool_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | minor_gc_trigger_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | minor_heap_size_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | major_heap_liveness: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | major_gc_pacer_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | major_heap_size_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | enable_imm_gen: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | imm_liveness: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/state.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 103 | /// TODO: discuss if we can change it in runtime [INFO] [stdout] 104 | pub(crate) config: GCConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | pub(crate) rayon_pool: rayon::ThreadPool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) start_minor_gc_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub(crate) start_major_gc_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) minor_heap_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | /// the size of major_heap generation [INFO] [stdout] 117 | pub(crate) major_heap_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | /// the size of imm generation [INFO] [stdout] 119 | pub(crate) imm_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | /// the size of total heap [INFO] [stdout] 121 | pub(crate) total_size: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) current_frame_count: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub(crate) minor_heap_roots: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | pub(crate) minor_heap_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub(crate) minor_heap_marked: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | pub(crate) minor_heap_dead: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub(crate) major_heap_roots: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | pub(crate) major_heap_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | pub(crate) major_heap_marked: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub(crate) major_heap_rescan_list: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) imm_gen: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadPool` is never constructed [INFO] [stdout] --> src/state.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `registed_gc_objects`, and `escaped_gc_objects` are never read [INFO] [stdout] --> src/frame.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GCFrame { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 17 | state: &'static State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | registed_gc_objects: Set<*mut GCHeader>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | escaped_gc_objects: *mut GCHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `allocate_gc_cell` is never used [INFO] [stdout] --> src/frame.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl GCFrame { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 23 | pub(crate) fn allocate_gc_cell(&self, value: T) -> GCCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame` and `value` are never read [INFO] [stdout] --> src/gc_box.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GCBox { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | frame: &'static GCFrame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | value: GCCell, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gc_box.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl GCBox { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 13 | fn new(frame: &'static GCFrame, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GCCellLayout` is never constructed [INFO] [stdout] --> src/gc_box.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct GCCellLayout { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/gc_box.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 99 | impl GCHeader { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 100 | pub(crate) fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "e18ac52fe94d9187568e274643cf17660dbe267246f91a735d317eaaf08da472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e18ac52fe94d9187568e274643cf17660dbe267246f91a735d317eaaf08da472", kill_on_drop: false }` [INFO] [stdout] e18ac52fe94d9187568e274643cf17660dbe267246f91a735d317eaaf08da472