[INFO] fetching crate canister-tools 0.2.3...
[INFO] testing canister-tools-0.2.3 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate canister-tools 0.2.3 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate canister-tools 0.2.3 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate canister-tools 0.2.3
[INFO] finished tweaking crates.io crate canister-tools 0.2.3
[INFO] tweaked toml for crates.io crate canister-tools 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate crates.io crate canister-tools 0.2.3 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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 634a159d5e0eb95dd6b25167d397da93332546ce983816fa3642429a2d33f243
[INFO] running `Command { std: "docker" "start" "-a" "634a159d5e0eb95dd6b25167d397da93332546ce983816fa3642429a2d33f243", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "634a159d5e0eb95dd6b25167d397da93332546ce983816fa3642429a2d33f243", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "634a159d5e0eb95dd6b25167d397da93332546ce983816fa3642429a2d33f243", kill_on_drop: false }`
[INFO] [stdout] 634a159d5e0eb95dd6b25167d397da93332546ce983816fa3642429a2d33f243
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57df826d58810b70a9d42d59c4450d716f98477b40bb15ad744f3ba32c7b3585
[INFO] running `Command { std: "docker" "start" "-a" "57df826d58810b70a9d42d59c4450d716f98477b40bb15ad744f3ba32c7b3585", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling cpufeatures v0.2.8
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling data-encoding v2.4.0
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling pretty v0.12.1
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.7
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling candid_derive v0.6.5
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling serde_bytes v0.11.9
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling ic-stable-structures v0.6.2
[INFO] [stderr]    Compiling candid v0.10.3
[INFO] [stderr]    Compiling ic-cdk-macros v0.8.4
[INFO] [stderr]    Compiling ic-cdk v0.12.1
[INFO] [stderr]    Compiling canister-tools v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.42s
[INFO] running `Command { std: "docker" "inspect" "57df826d58810b70a9d42d59c4450d716f98477b40bb15ad744f3ba32c7b3585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57df826d58810b70a9d42d59c4450d716f98477b40bb15ad744f3ba32c7b3585", kill_on_drop: false }`
[INFO] [stdout] 57df826d58810b70a9d42d59c4450d716f98477b40bb15ad744f3ba32c7b3585
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c0562490a76cfa15ae0162258eda8adadb9323135ff781853db33f3e5be5038
[INFO] running `Command { std: "docker" "start" "-a" "6c0562490a76cfa15ae0162258eda8adadb9323135ff781853db33f3e5be5038", kill_on_drop: false }`
[INFO] [stderr]    Compiling canister-tools v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "6c0562490a76cfa15ae0162258eda8adadb9323135ff781853db33f3e5be5038", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c0562490a76cfa15ae0162258eda8adadb9323135ff781853db33f3e5be5038", kill_on_drop: false }`
[INFO] [stdout] 6c0562490a76cfa15ae0162258eda8adadb9323135ff781853db33f3e5be5038
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9d63da29a7287d398a4a4e25c409d99df8335d534ae489f5673c59a0632b0881
[INFO] running `Command { std: "docker" "start" "-a" "9d63da29a7287d398a4a4e25c409d99df8335d534ae489f5673c59a0632b0881", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/canister_tools-5caf2b17172b221a)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/canister_tools-0cf6fdca12de1d8a)
[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 canister_tools
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - localkey::cell::set (line 237) ... FAILED
[INFO] [stdout] test src/lib.rs - localkey::cell::get (line 222) ... FAILED
[INFO] [stdout] test src/lib.rs - localkey::refcell::with_mut (line 184) ... FAILED
[INFO] [stdout] test src/lib.rs - localkey::refcell::with (line 152) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 62) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - localkey::cell::set (line 237) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Cell` in this scope
[INFO] [stdout]  --> src/lib.rs:239:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static VALUE: Cell<u64> = Cell::new(5);
[INFO] [stdout]   |                   ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ic_stable_structures::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell`
[INFO] [stdout]  --> src/lib.rs:239:31
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static VALUE: Cell<u64> = Cell::new(5);
[INFO] [stdout]   |                               ^^^^ use of undeclared type `Cell`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ic_stable_structures::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set` in this scope
[INFO] [stdout]  --> src/lib.rs:243:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     set(&VALUE, new_value);
[INFO] [stdout]   |     ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use canister_tools::localkey::cell::set;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - localkey::cell::get (line 222) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Cell` in this scope
[INFO] [stdout]  --> src/lib.rs:224:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static VALUE: Cell<u64> = Cell::new(5);
[INFO] [stdout]   |                   ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ic_stable_structures::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell`
[INFO] [stdout]  --> src/lib.rs:224:31
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static VALUE: Cell<u64> = Cell::new(5);
[INFO] [stdout]   |                               ^^^^ use of undeclared type `Cell`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ic_stable_structures::Cell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get` in this scope
[INFO] [stdout]  --> src/lib.rs:228:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     get(&VALUE) * multiply_by
[INFO] [stdout]   |     ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use canister_tools::localkey::cell::get;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - localkey::refcell::with_mut (line 184) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RefCell` in this scope
[INFO] [stdout]  --> src/lib.rs:190:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     static HOUSE: RefCell<House> = 
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::RefCell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell`
[INFO] [stdout]  --> src/lib.rs:191:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         RefCell::new(
[INFO] [stdout]   |         ^^^^^^^ use of undeclared type `RefCell`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::RefCell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `with_mut` in this scope
[INFO] [stdout]   --> src/lib.rs:200:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     with_mut(&HOUSE, |house| {
[INFO] [stdout]    |     ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use canister_tools::localkey::refcell::with_mut;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - localkey::refcell::with (line 152) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RefCell` in this scope
[INFO] [stdout]  --> src/lib.rs:158:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     static HOUSE: RefCell<House> = 
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::RefCell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell`
[INFO] [stdout]  --> src/lib.rs:159:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         RefCell::new(
[INFO] [stdout]   |         ^^^^^^^ use of undeclared type `RefCell`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::cell::RefCell;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `with` in this scope
[INFO] [stdout]   --> src/lib.rs:168:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     with(&HOUSE, |house| {
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use canister_tools::localkey::refcell::with;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - localkey::cell::get (line 222)
[INFO] [stdout]     src/lib.rs - localkey::cell::set (line 237)
[INFO] [stdout]     src/lib.rs - localkey::refcell::with (line 152)
[INFO] [stdout]     src/lib.rs - localkey::refcell::with_mut (line 184)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9d63da29a7287d398a4a4e25c409d99df8335d534ae489f5673c59a0632b0881", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d63da29a7287d398a4a4e25c409d99df8335d534ae489f5673c59a0632b0881", kill_on_drop: false }`
[INFO] [stdout] 9d63da29a7287d398a4a4e25c409d99df8335d534ae489f5673c59a0632b0881
