[INFO] fetching crate pinocchio-util 0.1.0... [INFO] testing pinocchio-util-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate pinocchio-util 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate pinocchio-util 0.1.0 [INFO] finished tweaking crates.io crate pinocchio-util 0.1.0 [INFO] tweaked toml for crates.io crate pinocchio-util 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pinocchio-util 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pinocchio-util 0.1.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e25ddcc920bd4d1127a036e9ee13dd4d327c5e65f3eb7f707b28fe47daa1b4c [INFO] running `Command { std: "docker" "start" "-a" "3e25ddcc920bd4d1127a036e9ee13dd4d327c5e65f3eb7f707b28fe47daa1b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e25ddcc920bd4d1127a036e9ee13dd4d327c5e65f3eb7f707b28fe47daa1b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e25ddcc920bd4d1127a036e9ee13dd4d327c5e65f3eb7f707b28fe47daa1b4c", kill_on_drop: false }` [INFO] [stdout] 3e25ddcc920bd4d1127a036e9ee13dd4d327c5e65f3eb7f707b28fe47daa1b4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c53a24bd79cb105679ec6c7a600484ed3a104f33e4227cc55a83bbf66e7abe01 [INFO] running `Command { std: "docker" "start" "-a" "c53a24bd79cb105679ec6c7a600484ed3a104f33e4227cc55a83bbf66e7abe01", kill_on_drop: false }` [INFO] [stderr] Compiling pinocchio v0.8.4 [INFO] [stderr] Compiling pinocchio-util v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "c53a24bd79cb105679ec6c7a600484ed3a104f33e4227cc55a83bbf66e7abe01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53a24bd79cb105679ec6c7a600484ed3a104f33e4227cc55a83bbf66e7abe01", kill_on_drop: false }` [INFO] [stdout] c53a24bd79cb105679ec6c7a600484ed3a104f33e4227cc55a83bbf66e7abe01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d32a3b41e84844aa34fe6f82015275967647f8cc3c76f4a6b1df2cae9dd5050e [INFO] running `Command { std: "docker" "start" "-a" "d32a3b41e84844aa34fe6f82015275967647f8cc3c76f4a6b1df2cae9dd5050e", kill_on_drop: false }` [INFO] [stderr] Compiling pinocchio-util v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "d32a3b41e84844aa34fe6f82015275967647f8cc3c76f4a6b1df2cae9dd5050e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32a3b41e84844aa34fe6f82015275967647f8cc3c76f4a6b1df2cae9dd5050e", kill_on_drop: false }` [INFO] [stdout] d32a3b41e84844aa34fe6f82015275967647f8cc3c76f4a6b1df2cae9dd5050e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edd1cb71ccebb0e356fb1a740ee4fa2fb38c5113a32c902fbf572f68b7e64cd3 [INFO] running `Command { std: "docker" "start" "-a" "edd1cb71ccebb0e356fb1a740ee4fa2fb38c5113a32c902fbf572f68b7e64cd3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pinocchio_util-469966033ad50034) [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 pinocchio_util [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - load_mut (line 60) ... FAILED [INFO] [stdout] test src/lib.rs - load_discriminator (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - load (line 32) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - load_mut (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut account = AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pinocchio::account_info::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account` in this scope [INFO] [stdout] --> src/lib.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 4 | &account, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> src/lib.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 8 | &mut accounts, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 9 | &mut ctx, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_mut` in this scope [INFO] [stdout] --> src/lib.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 12 | let mut account_data = load_mut::(&account)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use pinocchio_util::load_mut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserData` in this scope [INFO] [stdout] --> src/lib.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 12 | let mut account_data = load_mut::(&account)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_60_0() { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 - load_discriminator (line 92) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `load_discriminator` in this scope [INFO] [stdout] --> src/lib.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 3 | let discriminator = load_discriminator(&account, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use pinocchio_util::load_discriminator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account` in this scope [INFO] [stdout] --> src/lib.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 3 | let discriminator = load_discriminator(&account, None).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_discriminator` in this scope [INFO] [stdout] --> src/lib.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 6 | let discriminator = load_discriminator(&account, Some(4)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let discriminator = load_discriminator(&account, Some(4)).unwrap(); [INFO] [stdout] 6 + let discriminator = discriminator(&account, Some(4)).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use pinocchio_util::load_discriminator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account` in this scope [INFO] [stdout] --> src/lib.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 6 | let discriminator = load_discriminator(&account, Some(4)).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - load (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/lib.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 3 | let account = AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pinocchio::account_info::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account` in this scope [INFO] [stdout] --> src/lib.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 4 | &account, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> src/lib.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 8 | &mut accounts, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 9 | &mut ctx, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load` in this scope [INFO] [stdout] --> src/lib.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 12 | let account_data = load::(&account)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use pinocchio_util::load; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserData` in this scope [INFO] [stdout] --> src/lib.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 12 | let account_data = load::(&account)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 - load (line 32) [INFO] [stdout] src/lib.rs - load_discriminator (line 92) [INFO] [stdout] src/lib.rs - load_mut (line 60) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "edd1cb71ccebb0e356fb1a740ee4fa2fb38c5113a32c902fbf572f68b7e64cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd1cb71ccebb0e356fb1a740ee4fa2fb38c5113a32c902fbf572f68b7e64cd3", kill_on_drop: false }` [INFO] [stdout] edd1cb71ccebb0e356fb1a740ee4fa2fb38c5113a32c902fbf572f68b7e64cd3