[INFO] fetching crate uptown_funk 0.1.3... [INFO] checking uptown_funk-0.1.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate uptown_funk 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate uptown_funk 0.1.3 [INFO] finished tweaking crates.io crate uptown_funk 0.1.3 [INFO] tweaked toml for crates.io crate uptown_funk 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate uptown_funk 0.1.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 203 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding wasmer v1.0.2 (available: v6.0.1) [INFO] [stderr] Adding wasmtime v0.26.1 (available: v36.0.1) [INFO] [stderr] Adding zstd-safe v3.0.1+zstd.1.4.9 (available: v3.1.0+zstd.1.4.9) [INFO] [stderr] Adding zstd-sys v1.4.20+zstd.1.4.9 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 139cfca3c3d2344bad9fffed2a584e8bc1e0bb5655dfdcad9ddd9e10f81a6bd7 [INFO] running `Command { std: "docker" "start" "-a" "139cfca3c3d2344bad9fffed2a584e8bc1e0bb5655dfdcad9ddd9e10f81a6bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "139cfca3c3d2344bad9fffed2a584e8bc1e0bb5655dfdcad9ddd9e10f81a6bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "139cfca3c3d2344bad9fffed2a584e8bc1e0bb5655dfdcad9ddd9e10f81a6bd7", kill_on_drop: false }` [INFO] [stdout] 139cfca3c3d2344bad9fffed2a584e8bc1e0bb5655dfdcad9ddd9e10f81a6bd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6ae83a7d93a74e5859f8e52d002703c4fd968bbced74c3acaf435284da25472 [INFO] running `Command { std: "docker" "start" "-a" "f6ae83a7d93a74e5859f8e52d002703c4fd968bbced74c3acaf435284da25472", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling uptown_funk_macro v0.1.2 [INFO] [stderr] Checking uptown_funk v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Trap [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { &mut NOSTATE } [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { &raw mut NOSTATE } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { &mut NOSTATE } [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { &raw mut NOSTATE } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn borrow_state(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn borrow_state(&self) -> Ref<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn borrow_state_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn borrow_state_mut(&self) -> RefMut<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Trap [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { &mut NOSTATE } [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { &raw mut NOSTATE } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { &mut NOSTATE } [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { &raw mut NOSTATE } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn borrow_state(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn borrow_state(&self) -> Ref<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn borrow_state_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn borrow_state_mut(&self) -> RefMut<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/add_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/add_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/mutable_state_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions, StateMarker}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/mutable_state_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> tests/mutable_state_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/trap_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/trap_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> tests/add_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Empty { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn add(&self, a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayState` is never constructed [INFO] [stdout] --> tests/mutable_state_test.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ArrayState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create`, `value`, `add`, and `sum` are never used [INFO] [stdout] --> tests/mutable_state_test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ArrayState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 20 | fn create(&mut self, number: i32) -> MyNumber { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn value(&self, number: MyNumber) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn add(&mut self, a: MyNumber, b: MyNumber) -> MyNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn sum(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyNumber` is never constructed [INFO] [stdout] --> tests/mutable_state_test.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct MyNumber { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/mutable_state_test.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl MyNumber { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 43 | fn new(value: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trap` is never used [INFO] [stdout] --> tests/trap_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Empty { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn trap(&self) -> Traps { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Traps` is never constructed [INFO] [stdout] --> tests/trap_test.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Traps {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/ref_str_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/ref_str_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/multivalue_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/multivalue_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/pointer_test.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use uptown_funk::{host_functions, memory::Memory, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/pointer_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/multiple_namespaces_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/multiple_namespaces_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> tests/pointer_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Empty { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 15 | fn write(&self, value: f64, mut destination: Pointer) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `leet` is never used [INFO] [stdout] --> tests/multivalue_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Empty { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn leet(&self) -> (i32, f32, i64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> tests/multiple_namespaces_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Empty { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn add(&self, a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_a` and `add` are never used [INFO] [stdout] --> tests/ref_str_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Empty { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 14 | fn count_a(&self, words: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn add(&self, a: &str, b: &str, c: &mut [u8]) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/ioslice_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/ioslice_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vectored_read` and `vectored_write` are never used [INFO] [stdout] --> tests/ioslice_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Empty { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 15 | fn vectored_read(&self, bufs: &mut [IoSliceMut<'_>]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn vectored_write(&self, _bufs: &[std::io::IoSlice<'_>]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/custom_type_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/custom_type_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HostFunctions` and `memory::Memory` [INFO] [stdout] --> tests/custom_type_return_test.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/custom_type_return_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> tests/custom_type_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Empty { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn add(&self, a: MyNumber, b: MyNumber) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyNumber` is never constructed [INFO] [stdout] --> tests/custom_type_test.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct MyNumber { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `return_7` and `return_1_2_3` are never used [INFO] [stdout] --> tests/custom_type_return_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Empty { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 14 | fn return_7(&self) -> MyNumber { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn return_1_2_3(&self) -> (MyNumber, MyNumber, MyNumber) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyNumber` is never constructed [INFO] [stdout] --> tests/custom_type_return_test.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct MyNumber { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleExcutor` is never constructed [INFO] [stdout] --> tests/common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SimpleExcutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> tests/common.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.94s [INFO] running `Command { std: "docker" "inspect" "f6ae83a7d93a74e5859f8e52d002703c4fd968bbced74c3acaf435284da25472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ae83a7d93a74e5859f8e52d002703c4fd968bbced74c3acaf435284da25472", kill_on_drop: false }` [INFO] [stdout] f6ae83a7d93a74e5859f8e52d002703c4fd968bbced74c3acaf435284da25472