[INFO] fetching crate ic-kit 0.5.0-alpha.4... [INFO] testing ic-kit-0.5.0-alpha.4 against 1.97.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] extracting crate ic-kit 0.5.0-alpha.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ic-kit 0.5.0-alpha.4 [INFO] finished tweaking crates.io crate ic-kit 0.5.0-alpha.4 [INFO] tweaked toml for crates.io crate ic-kit 0.5.0-alpha.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ic-kit 0.5.0-alpha.4 on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "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" "+1.97.0-beta.6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] [stderr] Adding candid v0.7.18 (available: v0.10.34) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures v0.3.33 [INFO] [stderr] Downloaded ic-kit-sys v0.1.3 [INFO] [stderr] Downloaded futures-executor v0.3.33 [INFO] [stderr] Downloaded actix_derive v0.6.2 [INFO] [stderr] Downloaded ic-kit-macros v0.1.1-alpha.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded futures-macro v0.3.33 [INFO] [stderr] Downloaded ena v0.14.4 [INFO] [stderr] Downloaded ic-types v0.5.0 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded data-encoding v2.11.1 [INFO] [stderr] Downloaded either v1.17.0 [INFO] [stderr] Downloaded candid v0.7.18 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded actix v0.13.5 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded thread-local-panic-hook v0.1.0 [INFO] [stderr] Downloaded regex-automata v0.4.18 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded aho-corasick v1.1.5 [INFO] [stderr] Downloaded ic-types v0.4.2 [INFO] [stderr] Downloaded ic-kit-runtime v0.1.0-alpha.1 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82 [INFO] running `Command { std: "docker" "start" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling futures-core v0.3.33 [INFO] [stderr] Compiling futures-sink v0.3.33 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling either v1.17.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling siphasher v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.33 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling log v0.4.33 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-task v0.3.33 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.33 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling data-encoding v2.11.1 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling mio v1.2.2 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.16 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Compiling leb128 v0.2.7 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling thread-local-panic-hook v0.1.0 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling futures-macro v0.3.33 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.33 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-types v0.5.0 [INFO] [stderr] Compiling num-bigint v0.4.8 [INFO] [stderr] Compiling ic-types v0.4.2 [INFO] [stderr] Compiling ic-kit-macros v0.1.1-alpha.0 [INFO] [stderr] Compiling futures-executor v0.3.33 [INFO] [stderr] Compiling futures v0.3.33 [INFO] [stderr] Compiling tokio-util v0.7.19 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling ic-kit-sys v0.1.3 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling candid v0.7.18 [INFO] [stderr] Compiling ic-kit-runtime v0.1.0-alpha.1 [INFO] [stderr] Compiling ic-kit v0.5.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | callback as usize as isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 188 | callback as *const () as usize as isize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | callback as usize as isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 190 | callback as *const () as usize as isize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | ic0::call_on_cleanup(cleanup as usize as isize, state_ptr as isize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 194 | ic0::call_on_cleanup(cleanup as *const () as usize as isize, state_ptr as isize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/futures.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | Box::into_raw(boxed_future_ptr_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 321 | let _ = Box::into_raw(boxed_future_ptr_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/futures.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | Box::into_raw(boxed_future); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 322 | let _ = Box::into_raw(boxed_future); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | callback as usize as isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 188 | callback as *const () as usize as isize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | callback as usize as isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 190 | callback as *const () as usize as isize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | ic0::call_on_cleanup(cleanup as usize as isize, state_ptr as isize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 194 | ic0::call_on_cleanup(cleanup as *const () as usize as isize, state_ptr as isize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/futures.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | Box::into_raw(boxed_future_ptr_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 321 | let _ = Box::into_raw(boxed_future_ptr_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/futures.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | Box::into_raw(boxed_future); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 322 | let _ = Box::into_raw(boxed_future); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-kit v0.5.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | callback as usize as isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 188 | callback as *const () as usize as isize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | callback as usize as isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 190 | callback as *const () as usize as isize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/futures.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | ic0::call_on_cleanup(cleanup as usize as isize, state_ptr as isize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 194 | ic0::call_on_cleanup(cleanup as *const () as usize as isize, state_ptr as isize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/futures.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | Box::into_raw(boxed_future_ptr_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 321 | let _ = Box::into_raw(boxed_future_ptr_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/futures.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | Box::into_raw(boxed_future); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 322 | let _ = Box::into_raw(boxed_future); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/futures.rs:188:18 [INFO] [stderr] | [INFO] [stderr] 188 | callback as usize as isize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 188 | callback as *const () as usize as isize, [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/futures.rs:190:18 [INFO] [stderr] | [INFO] [stderr] 190 | callback as usize as isize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 190 | callback as *const () as usize as isize, [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/futures.rs:194:34 [INFO] [stderr] | [INFO] [stderr] 194 | ic0::call_on_cleanup(cleanup as usize as isize, state_ptr as isize); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 194 | ic0::call_on_cleanup(cleanup as *const () as usize as isize, state_ptr as isize); [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stderr] --> src/futures.rs:321:13 [INFO] [stderr] | [INFO] [stderr] 321 | Box::into_raw(boxed_future_ptr_ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: losing the pointer will leak memory [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 321 | let _ = Box::into_raw(boxed_future_ptr_ptr); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stderr] --> src/futures.rs:322:13 [INFO] [stderr] | [INFO] [stderr] 322 | Box::into_raw(boxed_future); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: losing the pointer will leak memory [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 322 | let _ = Box::into_raw(boxed_future); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `ic-kit` (lib) generated 5 warnings (run `cargo fix --lib -p ic-kit` to apply 3 suggestions) [INFO] [stderr] warning: `ic-kit` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/ic_kit-7455ab58fd8818b2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ic_kit [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/ic/storage.rs - ic::storage::with_many (line 57) ... ok [INFO] [stdout] test src/ic/storage.rs - ic::storage::with_many_mut (line 83) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82", kill_on_drop: false }` [INFO] [stdout] b4c4fb627ed808e2698224017fb5c9ab00ca68749db3b7bdf6d6078f938e0e82