[INFO] fetching crate pinocchio-util 0.1.0... [INFO] testing pinocchio-util-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pinocchio-util 0.1.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pinocchio-util 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pinocchio-derive v0.1.0 [INFO] [stderr] Downloaded pinocchio v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f376d0937415eddc1af92ca8eed10109b5fc5c97ad45946c442ae8daa56bf84 [INFO] running `Command { std: "docker" "start" "-a" "6f376d0937415eddc1af92ca8eed10109b5fc5c97ad45946c442ae8daa56bf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f376d0937415eddc1af92ca8eed10109b5fc5c97ad45946c442ae8daa56bf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f376d0937415eddc1af92ca8eed10109b5fc5c97ad45946c442ae8daa56bf84", kill_on_drop: false }` [INFO] [stdout] 6f376d0937415eddc1af92ca8eed10109b5fc5c97ad45946c442ae8daa56bf84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1241d7256fe902163c5bef97658415ebf1a4417140caa857e1bcd6f8e7d08ad0 [INFO] running `Command { std: "docker" "start" "-a" "1241d7256fe902163c5bef97658415ebf1a4417140caa857e1bcd6f8e7d08ad0", 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.33s [INFO] running `Command { std: "docker" "inspect" "1241d7256fe902163c5bef97658415ebf1a4417140caa857e1bcd6f8e7d08ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1241d7256fe902163c5bef97658415ebf1a4417140caa857e1bcd6f8e7d08ad0", kill_on_drop: false }` [INFO] [stdout] 1241d7256fe902163c5bef97658415ebf1a4417140caa857e1bcd6f8e7d08ad0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f5717c298b069289633b7a9db4b9c94365cf5af981daae0654e02afef97dc1f [INFO] running `Command { std: "docker" "start" "-a" "8f5717c298b069289633b7a9db4b9c94365cf5af981daae0654e02afef97dc1f", 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.17s [INFO] running `Command { std: "docker" "inspect" "8f5717c298b069289633b7a9db4b9c94365cf5af981daae0654e02afef97dc1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5717c298b069289633b7a9db4b9c94365cf5af981daae0654e02afef97dc1f", kill_on_drop: false }` [INFO] [stdout] 8f5717c298b069289633b7a9db4b9c94365cf5af981daae0654e02afef97dc1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb8d56214ef31a2c0c194dc93255123e5ec0ad3eeb25f809910ad45c96ba42dc [INFO] running `Command { std: "docker" "start" "-a" "bb8d56214ef31a2c0c194dc93255123e5ec0ad3eeb25f809910ad45c96ba42dc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [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 (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - load_discriminator (line 92) ... 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 (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] ---- 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] [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.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bb8d56214ef31a2c0c194dc93255123e5ec0ad3eeb25f809910ad45c96ba42dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8d56214ef31a2c0c194dc93255123e5ec0ad3eeb25f809910ad45c96ba42dc", kill_on_drop: false }` [INFO] [stdout] bb8d56214ef31a2c0c194dc93255123e5ec0ad3eeb25f809910ad45c96ba42dc