[INFO] fetching crate clone-solana-instruction 2.2.1... [INFO] testing clone-solana-instruction-2.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate clone-solana-instruction 2.2.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate clone-solana-instruction 2.2.1 [INFO] finished tweaking crates.io crate clone-solana-instruction 2.2.1 [INFO] tweaked toml for crates.io crate clone-solana-instruction 2.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clone-solana-instruction 2.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clone-solana-instruction 2.2.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb5c47c772d6e2bb397c02b2deb4a0327fc0b3ec4ff00f96df33fef1ad5b3dc1 [INFO] running `Command { std: "docker" "start" "-a" "fb5c47c772d6e2bb397c02b2deb4a0327fc0b3ec4ff00f96df33fef1ad5b3dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb5c47c772d6e2bb397c02b2deb4a0327fc0b3ec4ff00f96df33fef1ad5b3dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5c47c772d6e2bb397c02b2deb4a0327fc0b3ec4ff00f96df33fef1ad5b3dc1", kill_on_drop: false }` [INFO] [stdout] fb5c47c772d6e2bb397c02b2deb4a0327fc0b3ec4ff00f96df33fef1ad5b3dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6354dd955bb6a8cbd2ff3aa189e7c937f0325312fa2616835555be71425ae58 [INFO] running `Command { std: "docker" "start" "-a" "c6354dd955bb6a8cbd2ff3aa189e7c937f0325312fa2616835555be71425ae58", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling clone-solana-sanitize v2.2.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling clone-solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling clone-solana-decode-error v2.2.1 [INFO] [stderr] Compiling clone-solana-pubkey v2.2.1 [INFO] [stderr] Compiling clone-solana-instruction v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "c6354dd955bb6a8cbd2ff3aa189e7c937f0325312fa2616835555be71425ae58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6354dd955bb6a8cbd2ff3aa189e7c937f0325312fa2616835555be71425ae58", kill_on_drop: false }` [INFO] [stdout] c6354dd955bb6a8cbd2ff3aa189e7c937f0325312fa2616835555be71425ae58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4286c3148d068d670ea4a0cd4ff205e9d5d5e366609d2af9049d5990e7e3141 [INFO] running `Command { std: "docker" "start" "-a" "d4286c3148d068d670ea4a0cd4ff205e9d5d5e366609d2af9049d5990e7e3141", kill_on_drop: false }` [INFO] [stderr] Compiling clone-solana-instruction v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "d4286c3148d068d670ea4a0cd4ff205e9d5d5e366609d2af9049d5990e7e3141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4286c3148d068d670ea4a0cd4ff205e9d5d5e366609d2af9049d5990e7e3141", kill_on_drop: false }` [INFO] [stdout] d4286c3148d068d670ea4a0cd4ff205e9d5d5e366609d2af9049d5990e7e3141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd198260355a4ede9e16a40cbca0a3dc665f3b4ec7139317505114204d38c1a1 [INFO] running `Command { std: "docker" "start" "-a" "cd198260355a4ede9e16a40cbca0a3dc665f3b4ec7139317505114204d38c1a1", 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/clone_solana_instruction-5045cb867b7138c7) [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 clone_solana_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/account_meta.rs - account_meta::AccountMeta::new (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - Instruction::new_with_bytes (line 247) ... 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] 7 | 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] 10 | #[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] 18 | 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] --> /opt/rustwide/workdir/src/lib.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | 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] 18 - let instr = Instruction::new_with_borsh( [INFO] [stdout] 18 + 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/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] 7 | 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] 10 | #[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] 17 | 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] --> /opt/rustwide/workdir/src/lib.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | 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] 17 - let instr = Instruction::new_with_borsh( [INFO] [stdout] 17 + 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 247) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `borsh` [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:252:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:255:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[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:269:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | 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] [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 247) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cd198260355a4ede9e16a40cbca0a3dc665f3b4ec7139317505114204d38c1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd198260355a4ede9e16a40cbca0a3dc665f3b4ec7139317505114204d38c1a1", kill_on_drop: false }` [INFO] [stdout] cd198260355a4ede9e16a40cbca0a3dc665f3b4ec7139317505114204d38c1a1