[INFO] fetching crate solana-cpi 3.0.0... [INFO] testing solana-cpi-3.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate solana-cpi 3.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate solana-cpi 3.0.0 [INFO] finished tweaking crates.io crate solana-cpi 3.0.0 [INFO] tweaked toml for crates.io crate solana-cpi 3.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-cpi 3.0.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 solana-cpi 3.0.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] Downloading crates ... [INFO] [stderr] Downloaded solana-program-entrypoint v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7f51d7ee55854c387d0fcc882e9c5d99d9dc22812be84162d16859473730c572 [INFO] running `Command { std: "docker" "start" "-a" "7f51d7ee55854c387d0fcc882e9c5d99d9dc22812be84162d16859473730c572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f51d7ee55854c387d0fcc882e9c5d99d9dc22812be84162d16859473730c572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f51d7ee55854c387d0fcc882e9c5d99d9dc22812be84162d16859473730c572", kill_on_drop: false }` [INFO] [stdout] 7f51d7ee55854c387d0fcc882e9c5d99d9dc22812be84162d16859473730c572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9b6659bc054618e447a7823a736511feb00ba84394db7054f36ac5ceb6ba908f [INFO] running `Command { std: "docker" "start" "-a" "9b6659bc054618e447a7823a736511feb00ba84394db7054f36ac5ceb6ba908f", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling solana-atomic-u64 v3.0.0 [INFO] [stderr] Compiling solana-sanitize v3.0.0 [INFO] [stderr] Compiling solana-program-error v3.0.0 [INFO] [stderr] Compiling solana-program-memory v3.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling solana-hash v3.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling solana-instruction-error v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling solana-sha256-hasher v3.0.0 [INFO] [stderr] Compiling solana-address v1.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-account-info v3.0.0 [INFO] [stderr] Compiling solana-instruction v3.0.0 [INFO] [stderr] Compiling solana-cpi v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.23s [INFO] running `Command { std: "docker" "inspect" "9b6659bc054618e447a7823a736511feb00ba84394db7054f36ac5ceb6ba908f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6659bc054618e447a7823a736511feb00ba84394db7054f36ac5ceb6ba908f", kill_on_drop: false }` [INFO] [stdout] 9b6659bc054618e447a7823a736511feb00ba84394db7054f36ac5ceb6ba908f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ea53edd7de2a8c94a2830912430a5ff3cd67092aa564df366fcaecfd21e16211 [INFO] running `Command { std: "docker" "start" "-a" "ea53edd7de2a8c94a2830912430a5ff3cd67092aa564df366fcaecfd21e16211", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling solana-define-syscall v3.0.0 [INFO] [stderr] Compiling solana-msg v3.0.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling solana-address v1.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-account-info v3.0.0 [INFO] [stderr] Compiling solana-instruction v3.0.0 [INFO] [stderr] Compiling solana-sdk-ids v3.0.0 [INFO] [stderr] Compiling solana-program-entrypoint v3.0.0 [INFO] [stderr] Compiling solana-cpi v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.36s [INFO] running `Command { std: "docker" "inspect" "ea53edd7de2a8c94a2830912430a5ff3cd67092aa564df366fcaecfd21e16211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea53edd7de2a8c94a2830912430a5ff3cd67092aa564df366fcaecfd21e16211", kill_on_drop: false }` [INFO] [stdout] ea53edd7de2a8c94a2830912430a5ff3cd67092aa564df366fcaecfd21e16211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] adfc9b301e84073b96d4e0657eee254ef42073f1169775c93513797de4a66574 [INFO] running `Command { std: "docker" "start" "-a" "adfc9b301e84073b96d4e0657eee254ef42073f1169775c93513797de4a66574", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/solana_cpi-8cfcee0c6c6759b7) [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 solana_cpi [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - invoke_signed (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - invoke (line 100) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - invoke_signed (line 192) stdout ---- [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 13 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `frozen-abi` and `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> src/lib.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 13 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `frozen-abi` and `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 41 | &system_instruction::create_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | &payer.key, [INFO] [stdout] | ---------- expected `&Pubkey`, found `&&Pubkey` [INFO] [stdout] 43 | &vault_pda.key, [INFO] [stdout] | -------------- expected `&Pubkey`, found `&&Pubkey` [INFO] [stdout] ... [INFO] [stdout] 46 | &program_id, [INFO] [stdout] | ----------- expected `&Pubkey`, found `&&Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&solana_pubkey::Pubkey` [INFO] [stdout] found reference `&&Pubkey` [INFO] [stdout] = note: expected reference `&solana_pubkey::Pubkey` [INFO] [stdout] found reference `&&Pubkey` [INFO] [stdout] = note: expected reference `&solana_pubkey::Pubkey` [INFO] [stdout] found reference `&&Pubkey` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-system-interface-1.0.0/src/instruction.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn create_account( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 40 | invoke_signed( [INFO] [stdout] | ------------- arguments to this function are incorrect [INFO] [stdout] 41 | / &system_instruction::create_account( [INFO] [stdout] 42 | | &payer.key, [INFO] [stdout] 43 | | &vault_pda.key, [INFO] [stdout] 44 | | lamports, [INFO] [stdout] 45 | | vault_size, [INFO] [stdout] 46 | | &program_id, [INFO] [stdout] 47 | | ), [INFO] [stdout] | |_________^ expected `solana_instruction::Instruction`, found a different `solana_instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `solana_instruction` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.0.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `solana_instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the found type `solana_instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#solana_cpi; [INFO] [stdout] | -------------------------- one version of crate `solana_instruction` used here, as a dependency of crate `solana_cpi` [INFO] [stdout] ... [INFO] [stdout] 11 | use solana_system_interface::instruction as system_instruction; [INFO] [stdout] | ----------------------- one version of crate `solana_instruction` used here, as a dependency of crate `solana_system_interface` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - invoke (line 100) stdout ---- [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 13 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `frozen-abi` and `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> src/lib.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 13 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `frozen-abi` and `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 36 | &system_instruction::transfer(payer.key, recipient.key, lamports), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------- ------------- expected `solana_pubkey::Pubkey`, found `Pubkey` [INFO] [stdout] | | [INFO] [stdout] | expected `solana_pubkey::Pubkey`, found `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&solana_pubkey::Pubkey` [INFO] [stdout] found reference `&Pubkey` [INFO] [stdout] = note: expected reference `&solana_pubkey::Pubkey` [INFO] [stdout] found reference `&Pubkey` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-system-interface-1.0.0/src/instruction.rs:815:8 [INFO] [stdout] | [INFO] [stdout] 815 | pub fn transfer(from_pubkey: &Pubkey, to_pubkey: &Pubkey, lamports: u64) -> Instruction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 35 | invoke( [INFO] [stdout] | ------ arguments to this function are incorrect [INFO] [stdout] 36 | &system_instruction::transfer(payer.key, recipient.key, lamports), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_instruction::Instruction`, found a different `solana_instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `solana_instruction` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.0.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `solana_instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the found type `solana_instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#solana_cpi; [INFO] [stdout] | -------------------------- one version of crate `solana_instruction` used here, as a dependency of crate `solana_cpi` [INFO] [stdout] ... [INFO] [stdout] 11 | use solana_system_interface::instruction as system_instruction; [INFO] [stdout] | ----------------------- one version of crate `solana_instruction` used here, as a dependency of crate `solana_system_interface` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - invoke (line 100) [INFO] [stdout] src/lib.rs - invoke_signed (line 192) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "adfc9b301e84073b96d4e0657eee254ef42073f1169775c93513797de4a66574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adfc9b301e84073b96d4e0657eee254ef42073f1169775c93513797de4a66574", kill_on_drop: false }` [INFO] [stdout] adfc9b301e84073b96d4e0657eee254ef42073f1169775c93513797de4a66574