[INFO] cloning repository https://github.com/TrueSightDAO/truesight_protocol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TrueSightDAO/truesight_protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrueSightDAO%2Ftruesight_protocol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrueSightDAO%2Ftruesight_protocol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1d589afe7f8af0d8ea1c12f3a8a0a446be389d8 [INFO] testing TrueSightDAO/truesight_protocol against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrueSightDAO%2Ftruesight_protocol" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrueSightDAO/truesight_protocol on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TrueSightDAO/truesight_protocol [INFO] finished tweaking git repo https://github.com/TrueSightDAO/truesight_protocol [INFO] tweaked toml for git repo https://github.com/TrueSightDAO/truesight_protocol written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/TrueSightDAO/truesight_protocol already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 281c28f9b0981da632f058581548fcc13ebb6aa91e1fadd5438262b668457e43 [INFO] running `Command { std: "docker" "start" "-a" "281c28f9b0981da632f058581548fcc13ebb6aa91e1fadd5438262b668457e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "281c28f9b0981da632f058581548fcc13ebb6aa91e1fadd5438262b668457e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281c28f9b0981da632f058581548fcc13ebb6aa91e1fadd5438262b668457e43", kill_on_drop: false }` [INFO] [stdout] 281c28f9b0981da632f058581548fcc13ebb6aa91e1fadd5438262b668457e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bc65a238863a1e64f02a10eebc0baac364663d1f57b1ec16e6b0ae03378aea9 [INFO] running `Command { std: "docker" "start" "-a" "3bc65a238863a1e64f02a10eebc0baac364663d1f57b1ec16e6b0ae03378aea9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling blake3 v1.2.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.2 [INFO] [stderr] Compiling solana-frozen-abi v1.9.2 [INFO] [stderr] Compiling solana-program v1.9.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling solana-logger v1.9.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.9.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.19.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling anchor-attribute-access-control v0.19.0 [INFO] [stderr] Compiling anchor-attribute-error v0.19.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.19.0 [INFO] [stderr] Compiling anchor-attribute-state v0.19.0 [INFO] [stderr] Compiling anchor-attribute-program v0.19.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.19.0 [INFO] [stderr] Compiling anchor-attribute-event v0.19.0 [INFO] [stderr] Compiling anchor-attribute-account v0.19.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.19.0 [INFO] [stderr] Compiling spl-token v3.3.0 [INFO] [stderr] Compiling anchor-lang v0.19.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling anchor-spl v0.19.0 [INFO] [stderr] Compiling truesight_protocol v0.1.0 (/opt/rustwide/workdir/programs/truesight_protocol) [INFO] [stdout] warning: unused import: `anchor_spl::token::*` [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stdout] 17 + if holdout_period_sec >= MINIMUM_HOLDOUT_SEC { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if ( [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | prediction_record.asset != "" && [INFO] [stdout] | |____________^ [INFO] [stdout] 31 | Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 32 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 ~ if prediction_record.asset != "" && [INFO] [stdout] 30 ~ Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | if(prediction_record.is_correct) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if(prediction_record.is_correct) { [INFO] [stdout] 39 + if prediction_record.is_correct { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.41s [INFO] running `Command { std: "docker" "inspect" "3bc65a238863a1e64f02a10eebc0baac364663d1f57b1ec16e6b0ae03378aea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc65a238863a1e64f02a10eebc0baac364663d1f57b1ec16e6b0ae03378aea9", kill_on_drop: false }` [INFO] [stdout] 3bc65a238863a1e64f02a10eebc0baac364663d1f57b1ec16e6b0ae03378aea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a608a7688262284003a37697bfc32cc9c51ceeaaa43c03b857409209c530216 [INFO] running `Command { std: "docker" "start" "-a" "9a608a7688262284003a37697bfc32cc9c51ceeaaa43c03b857409209c530216", kill_on_drop: false }` [INFO] [stderr] Compiling truesight_protocol v0.1.0 (/opt/rustwide/workdir/programs/truesight_protocol) [INFO] [stdout] warning: unused import: `anchor_spl::token::*` [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stdout] 17 + if holdout_period_sec >= MINIMUM_HOLDOUT_SEC { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if ( [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | prediction_record.asset != "" && [INFO] [stdout] | |____________^ [INFO] [stdout] 31 | Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 32 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 ~ if prediction_record.asset != "" && [INFO] [stdout] 30 ~ Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | if(prediction_record.is_correct) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if(prediction_record.is_correct) { [INFO] [stdout] 39 + if prediction_record.is_correct { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::token::*` [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stdout] 17 + if holdout_period_sec >= MINIMUM_HOLDOUT_SEC { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if ( [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | prediction_record.asset != "" && [INFO] [stdout] | |____________^ [INFO] [stdout] 31 | Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 32 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 ~ if prediction_record.asset != "" && [INFO] [stdout] 30 ~ Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/truesight_protocol/src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | if(prediction_record.is_correct) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if(prediction_record.is_correct) { [INFO] [stdout] 39 + if prediction_record.is_correct { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "9a608a7688262284003a37697bfc32cc9c51ceeaaa43c03b857409209c530216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a608a7688262284003a37697bfc32cc9c51ceeaaa43c03b857409209c530216", kill_on_drop: false }` [INFO] [stdout] 9a608a7688262284003a37697bfc32cc9c51ceeaaa43c03b857409209c530216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23384746bf5a141508e20c11429414dfc251360afffe5fa1856568df4c47ffc8 [INFO] running `Command { std: "docker" "start" "-a" "23384746bf5a141508e20c11429414dfc251360afffe5fa1856568df4c47ffc8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `anchor_spl::token::*` [INFO] [stderr] --> programs/truesight_protocol/src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/truesight_protocol/src/lib.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stderr] 17 + if holdout_period_sec >= MINIMUM_HOLDOUT_SEC { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/truesight_protocol/src/lib.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | if ( [INFO] [stderr] | ____________^ [INFO] [stderr] 30 | | prediction_record.asset != "" && [INFO] [stderr] | |____________^ [INFO] [stderr] 31 | Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date [INFO] [stderr] | _________________________________________________________________________________^ [INFO] [stderr] 32 | | ) { [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 ~ if prediction_record.asset != "" && [INFO] [stderr] 30 ~ Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/truesight_protocol/src/lib.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | if(prediction_record.is_correct) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 39 - if(prediction_record.is_correct) { [INFO] [stderr] 39 + if prediction_record.is_correct { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `truesight_protocol` (lib) generated 4 warnings [INFO] [stderr] warning: `truesight_protocol` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/truesight_protocol-ac64b1e6f7bc03de) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests truesight_protocol [INFO] [stderr] error[E0659]: `truesight_protocol` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/truesight_protocol/src/lib.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub mod truesight_protocol { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `truesight_protocol` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::truesight_protocol` to refer to this crate unambiguously [INFO] [stderr] note: `truesight_protocol` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/truesight_protocol/src/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pub mod truesight_protocol { [INFO] [stderr] 10 | | use super::*; [INFO] [stderr] 11 | | [INFO] [stderr] 12 | | pub fn create_prediction(ctx: Context, asset_name: String, direction: u64, holdout_period_sec: u64) -> ProgramResult { [INFO] [stderr] ... | [INFO] [stderr] 47 | | [INFO] [stderr] 48 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::truesight_protocol` to refer to this module unambiguously [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/programs/truesight_protocol/src/lib.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - if(holdout_period_sec >= MINIMUM_HOLDOUT_SEC) { [INFO] [stderr] 17 + if holdout_period_sec >= MINIMUM_HOLDOUT_SEC { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/programs/truesight_protocol/src/lib.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | if ( [INFO] [stderr] | ____________^ [INFO] [stderr] 30 | | prediction_record.asset != "" && [INFO] [stderr] | |____________^ [INFO] [stderr] 31 | Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date [INFO] [stderr] | _________________________________________________________________________________^ [INFO] [stderr] 32 | | ) { [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 ~ if prediction_record.asset != "" && [INFO] [stderr] 30 ~ Clock::get().unwrap().unix_timestamp > prediction_record.expiry_date { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/programs/truesight_protocol/src/lib.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | if(prediction_record.is_correct) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 39 - if(prediction_record.is_correct) { [INFO] [stderr] 39 + if prediction_record.is_correct { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0659`. [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "23384746bf5a141508e20c11429414dfc251360afffe5fa1856568df4c47ffc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23384746bf5a141508e20c11429414dfc251360afffe5fa1856568df4c47ffc8", kill_on_drop: false }` [INFO] [stdout] 23384746bf5a141508e20c11429414dfc251360afffe5fa1856568df4c47ffc8