[INFO] fetching crate canister-tools 0.2.3...
[INFO] testing canister-tools-0.2.3 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] extracting crate canister-tools 0.2.3 into /workspace/builds/worker-7-tc2/source
[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-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate canister-tools 0.2.3 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21392bb1ced8a799c30b9a9e9858d0ef39dd0d1ee686709980722016b10521fe
[INFO] running `Command { std: "docker" "start" "-a" "21392bb1ced8a799c30b9a9e9858d0ef39dd0d1ee686709980722016b10521fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21392bb1ced8a799c30b9a9e9858d0ef39dd0d1ee686709980722016b10521fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21392bb1ced8a799c30b9a9e9858d0ef39dd0d1ee686709980722016b10521fe", kill_on_drop: false }`
[INFO] [stdout] 21392bb1ced8a799c30b9a9e9858d0ef39dd0d1ee686709980722016b10521fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e6e9961c9f26cbdf2bc6434de309f914926a5e982499234033cd659f5b0acc8
[INFO] running `Command { std: "docker" "start" "-a" "8e6e9961c9f26cbdf2bc6434de309f914926a5e982499234033cd659f5b0acc8", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling cpufeatures v0.2.8
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling sha2 v0.10.7
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling pretty v0.12.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-integer v0.1.45
[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 thiserror v1.0.40
[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 25.36s
[INFO] running `Command { std: "docker" "inspect" "8e6e9961c9f26cbdf2bc6434de309f914926a5e982499234033cd659f5b0acc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e6e9961c9f26cbdf2bc6434de309f914926a5e982499234033cd659f5b0acc8", kill_on_drop: false }`
[INFO] [stdout] 8e6e9961c9f26cbdf2bc6434de309f914926a5e982499234033cd659f5b0acc8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] faf5b675528215e4ae134adf8b01e219b03ee545c80ddc53d2e29b27fb6a90fd
[INFO] running `Command { std: "docker" "start" "-a" "faf5b675528215e4ae134adf8b01e219b03ee545c80ddc53d2e29b27fb6a90fd", 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.89s
[INFO] running `Command { std: "docker" "inspect" "faf5b675528215e4ae134adf8b01e219b03ee545c80ddc53d2e29b27fb6a90fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faf5b675528215e4ae134adf8b01e219b03ee545c80ddc53d2e29b27fb6a90fd", kill_on_drop: false }`
[INFO] [stdout] faf5b675528215e4ae134adf8b01e219b03ee545c80ddc53d2e29b27fb6a90fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3c9125c7e9d1a33b955a47f5efd5a0c13ce9999607ad1d5efd2fb6a8dd444db6
[INFO] running `Command { std: "docker" "start" "-a" "3c9125c7e9d1a33b955a47f5efd5a0c13ce9999607ad1d5efd2fb6a8dd444db6", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/canister_tools-c3ab373a41c9b026)
[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-c31b4564d5e22737)
[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::refcell::with_mut (line 184) ... FAILED
[INFO] [stdout] test src/lib.rs - localkey::refcell::with (line 152) ... FAILED
[INFO] [stdout] test src/lib.rs - localkey::cell::get (line 222) ... 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::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] ---- 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] 
[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.72s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3c9125c7e9d1a33b955a47f5efd5a0c13ce9999607ad1d5efd2fb6a8dd444db6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c9125c7e9d1a33b955a47f5efd5a0c13ce9999607ad1d5efd2fb6a8dd444db6", kill_on_drop: false }`
[INFO] [stdout] 3c9125c7e9d1a33b955a47f5efd5a0c13ce9999607ad1d5efd2fb6a8dd444db6
