[INFO] cloning repository https://github.com/satyam9936/Rust-week-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/satyam9936/Rust-week-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatyam9936%2FRust-week-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatyam9936%2FRust-week-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cafd09a2a49e9097f908696632767238b88d03e [INFO] checking satyam9936/Rust-week-1 against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatyam9936%2FRust-week-1" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/satyam9936/Rust-week-1 [INFO] finished tweaking git repo https://github.com/satyam9936/Rust-week-1 [INFO] tweaked toml for git repo https://github.com/satyam9936/Rust-week-1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/satyam9936/Rust-week-1 on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/satyam9936/Rust-week-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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8cacb2769d906d9d02384ce177ed03b30ebe7b5161a7854c1ed600571dd1176 [INFO] running `Command { std: "docker" "start" "-a" "e8cacb2769d906d9d02384ce177ed03b30ebe7b5161a7854c1ed600571dd1176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8cacb2769d906d9d02384ce177ed03b30ebe7b5161a7854c1ed600571dd1176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8cacb2769d906d9d02384ce177ed03b30ebe7b5161a7854c1ed600571dd1176", kill_on_drop: false }` [INFO] [stdout] e8cacb2769d906d9d02384ce177ed03b30ebe7b5161a7854c1ed600571dd1176 [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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 731072510d2a3ed285cb8e5b547b15150a86694b0b11181d277558c0c3148aea [INFO] running `Command { std: "docker" "start" "-a" "731072510d2a3ed285cb8e5b547b15150a86694b0b11181d277558c0c3148aea", kill_on_drop: false }` [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_program` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_program`, use `cargo add solana_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use borsh::{BorshDeserialize, BorshSerialize}; [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] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_program`, use `cargo add solana_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_program` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_program`, use `cargo add solana_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use borsh::{BorshDeserialize, BorshSerialize}; [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] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_program`, use `cargo add solana_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `Counter` in the current scope [INFO] [stdout] --> src/lib.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 13 | struct Counter { [INFO] [stdout] | -------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | let mut counter = Counter::try_from_slice(&account.data.borrow())?; // 10 [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Counter` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - let mut counter = Counter::try_from_slice(&account.data.borrow())?; // 10 [INFO] [stdout] 31 + let mut counter = Counter::try_from(&account.data.borrow())?; // 10 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `try_from_slice` found for enum `CounterInstruction` in the current scope [INFO] [stdout] --> src/lib.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 18 | enum CounterInstruction { [INFO] [stdout] | ----------------------- variant or associated item `try_from_slice` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 33 | match CounterInstruction::try_from_slice(instruction_data)? { [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CounterInstruction` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - match CounterInstruction::try_from_slice(instruction_data)? { [INFO] [stdout] 33 + match CounterInstruction::try_from(instruction_data)? { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `Counter` in the current scope [INFO] [stdout] --> src/lib.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 13 | struct Counter { [INFO] [stdout] | -------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | let mut counter = Counter::try_from_slice(&account.data.borrow())?; // 10 [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Counter` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - let mut counter = Counter::try_from_slice(&account.data.borrow())?; // 10 [INFO] [stdout] 31 + let mut counter = Counter::try_from(&account.data.borrow())?; // 10 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `try_from_slice` found for enum `CounterInstruction` in the current scope [INFO] [stdout] --> src/lib.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 18 | enum CounterInstruction { [INFO] [stdout] | ----------------------- variant or associated item `try_from_slice` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 33 | match CounterInstruction::try_from_slice(instruction_data)? { [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CounterInstruction` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - match CounterInstruction::try_from_slice(instruction_data)? { [INFO] [stdout] 33 + match CounterInstruction::try_from(instruction_data)? { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "731072510d2a3ed285cb8e5b547b15150a86694b0b11181d277558c0c3148aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731072510d2a3ed285cb8e5b547b15150a86694b0b11181d277558c0c3148aea", kill_on_drop: false }` [INFO] [stdout] 731072510d2a3ed285cb8e5b547b15150a86694b0b11181d277558c0c3148aea