[INFO] fetching crate rialo-s-instruction 0.4.0-alpha.0... [INFO] testing rialo-s-instruction-0.4.0-alpha.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rialo-s-instruction 0.4.0-alpha.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rialo-s-instruction 0.4.0-alpha.0 [INFO] finished tweaking crates.io crate rialo-s-instruction 0.4.0-alpha.0 [INFO] tweaked toml for crates.io crate rialo-s-instruction 0.4.0-alpha.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rialo-s-instruction 0.4.0-alpha.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rialo-s-instruction 0.4.0-alpha.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" "+562dee4820c458d823175268e41601d4c060588a" "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 rialo-s-decode-error v0.4.0-alpha.0 [INFO] [stderr] Downloaded polkavm-derive-impl-macro v0.26.0 [INFO] [stderr] Downloaded rialo-hash v0.4.0-alpha.0 [INFO] [stderr] Downloaded rialo-frozen-abi-macro v0.4.0-alpha.0 [INFO] [stderr] Downloaded rialo-s-sha256-hasher v0.4.0-alpha.0 [INFO] [stderr] Downloaded serde_with_macros v3.16.1 [INFO] [stderr] Downloaded rialo-frozen-abi v0.4.0-alpha.0 [INFO] [stderr] Downloaded rialo-s-pubkey v0.4.0-alpha.0 [INFO] [stderr] Downloaded rialo-s-define-syscall v0.4.0-alpha.0 [INFO] [stderr] Downloaded rialo-sanitize v0.4.0-alpha.0 [INFO] [stderr] Downloaded polkavm-common v0.26.0 [INFO] [stderr] Downloaded polkavm-derive v0.26.0 [INFO] [stderr] Downloaded rialo-atomic-u64 v0.4.0-alpha.0 [INFO] [stderr] Downloaded polkavm-derive-impl v0.26.0 [INFO] [stderr] Downloaded serde_with v3.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a476a0d060348f9ce8a1ec93ffb57cd93d8deacf571a8827d3b584c336a42cb2 [INFO] running `Command { std: "docker" "start" "-a" "a476a0d060348f9ce8a1ec93ffb57cd93d8deacf571a8827d3b584c336a42cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a476a0d060348f9ce8a1ec93ffb57cd93d8deacf571a8827d3b584c336a42cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a476a0d060348f9ce8a1ec93ffb57cd93d8deacf571a8827d3b584c336a42cb2", kill_on_drop: false }` [INFO] [stdout] a476a0d060348f9ce8a1ec93ffb57cd93d8deacf571a8827d3b584c336a42cb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 406aa1fca896a4666ff8fe4a1d79a92da997918eee89e06aadbb42c13517bee0 [INFO] running `Command { std: "docker" "start" "-a" "406aa1fca896a4666ff8fe4a1d79a92da997918eee89e06aadbb42c13517bee0", kill_on_drop: false }` [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling rialo-sanitize v0.4.0-alpha.0 [INFO] [stderr] Compiling rialo-atomic-u64 v0.4.0-alpha.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling rialo-s-decode-error v0.4.0-alpha.0 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling rialo-s-pubkey v0.4.0-alpha.0 [INFO] [stderr] Compiling rialo-s-instruction v0.4.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "406aa1fca896a4666ff8fe4a1d79a92da997918eee89e06aadbb42c13517bee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406aa1fca896a4666ff8fe4a1d79a92da997918eee89e06aadbb42c13517bee0", kill_on_drop: false }` [INFO] [stdout] 406aa1fca896a4666ff8fe4a1d79a92da997918eee89e06aadbb42c13517bee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aa382240a465ded21acafe832f0dbdbf90ccc75a0f0b50702e0c40549f26edf [INFO] running `Command { std: "docker" "start" "-a" "5aa382240a465ded21acafe832f0dbdbf90ccc75a0f0b50702e0c40549f26edf", kill_on_drop: false }` [INFO] [stderr] Compiling rialo-s-instruction v0.4.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "5aa382240a465ded21acafe832f0dbdbf90ccc75a0f0b50702e0c40549f26edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa382240a465ded21acafe832f0dbdbf90ccc75a0f0b50702e0c40549f26edf", kill_on_drop: false }` [INFO] [stdout] 5aa382240a465ded21acafe832f0dbdbf90ccc75a0f0b50702e0c40549f26edf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7194785bf83061cbfa8685e60d5d6e42e65197e6c5508d8794b7e43d45abf887 [INFO] running `Command { std: "docker" "start" "-a" "7194785bf83061cbfa8685e60d5d6e42e65197e6c5508d8794b7e43d45abf887", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rialo_s_instruction-1947d314dd113a8d) [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 rialo_s_instruction [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/account_meta.rs - account_meta::AccountMeta::new_readonly (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - Instruction::new_with_bytes (line 251) ... FAILED [INFO] [stdout] test src/account_meta.rs - account_meta::AccountMeta::new (line 39) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/account_meta.rs - account_meta::AccountMeta::new_readonly (line 73) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/account_meta.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | use borsh::{BorshSerialize, BorshDeserialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `borsh` in this scope [INFO] [stdout] --> src/account_meta.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[borsh(crate = "borsh")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_borsh` found for struct `Instruction` in the current scope [INFO] [stdout] --> src/account_meta.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let instr = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Instruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Instruction`, consider using `Instruction::new_with_bytes` which returns `Instruction` [INFO] [stdout] --> src/lib.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn new_with_bytes(program_id: Pubkey, data: &[u8], accounts: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `new_with_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 88 - let instr = Instruction::new_with_borsh( [INFO] [stdout] 88 + let instr = Instruction::new_with_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Instruction::new_with_bytes (line 251) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/lib.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | use borsh::{io::Error, BorshSerialize, BorshDeserialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/lib.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | use borsh::{io::Error, BorshSerialize, BorshDeserialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `borsh` in this scope [INFO] [stdout] --> src/lib.rs:259:3 [INFO] [stdout] | [INFO] [stdout] 259 | #[borsh(crate = "borsh")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `MyInstruction` in the current scope [INFO] [stdout] --> src/lib.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 273 | instr.serialize(&mut instr_in_bytes)?; [INFO] [stdout] | ^^^^^^^^^ method not found in `MyInstruction` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account_meta.rs - account_meta::AccountMeta::new (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/account_meta.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use borsh::{BorshSerialize, BorshDeserialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `borsh` in this scope [INFO] [stdout] --> src/account_meta.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[borsh(crate = "borsh")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_borsh` found for struct `Instruction` in the current scope [INFO] [stdout] --> src/account_meta.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let instr = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Instruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Instruction`, consider using `Instruction::new_with_bytes` which returns `Instruction` [INFO] [stdout] --> src/lib.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn new_with_bytes(program_id: Pubkey, data: &[u8], accounts: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `new_with_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 53 - let instr = Instruction::new_with_borsh( [INFO] [stdout] 53 + let instr = Instruction::new_with_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/account_meta.rs - account_meta::AccountMeta::new (line 39) [INFO] [stdout] src/account_meta.rs - account_meta::AccountMeta::new_readonly (line 73) [INFO] [stdout] src/lib.rs - Instruction::new_with_bytes (line 251) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7194785bf83061cbfa8685e60d5d6e42e65197e6c5508d8794b7e43d45abf887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7194785bf83061cbfa8685e60d5d6e42e65197e6c5508d8794b7e43d45abf887", kill_on_drop: false }` [INFO] [stdout] 7194785bf83061cbfa8685e60d5d6e42e65197e6c5508d8794b7e43d45abf887