[INFO] cloning repository https://github.com/rimbi/solana-twap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rimbi/solana-twap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frimbi%2Fsolana-twap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frimbi%2Fsolana-twap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa31a0737412ba3a60d9f9da27309bc1cdb4fc9d [INFO] testing rimbi/solana-twap against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frimbi%2Fsolana-twap" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rimbi/solana-twap on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rimbi/solana-twap [INFO] finished tweaking git repo https://github.com/rimbi/solana-twap [INFO] tweaked toml for git repo https://github.com/rimbi/solana-twap written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/rimbi/solana-twap already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.1 [INFO] [stderr] Downloaded solana-logger v1.7.1 [INFO] [stderr] Downloaded solana-program v1.7.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.1 [INFO] [stderr] Downloaded pyth-client v0.2.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.1 [INFO] [stderr] Downloaded anchor-derive-accounts v0.9.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.9.0 [INFO] [stderr] Downloaded anchor-attribute-state v0.9.0 [INFO] [stderr] Downloaded anchor-attribute-interface v0.9.0 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.9.0 [INFO] [stderr] Downloaded anchor-lang v0.9.0 [INFO] [stderr] Downloaded anchor-attribute-error v0.9.0 [INFO] [stderr] Downloaded anchor-attribute-account v0.9.0 [INFO] [stderr] Downloaded anchor-syn v0.9.0 [INFO] [stderr] Downloaded anchor-attribute-program v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea7d7cfc89255117600cd09b6979ec16756b41ade3d4b622072f45c529917b4a [INFO] running `Command { std: "docker" "start" "-a" "ea7d7cfc89255117600cd09b6979ec16756b41ade3d4b622072f45c529917b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea7d7cfc89255117600cd09b6979ec16756b41ade3d4b622072f45c529917b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7d7cfc89255117600cd09b6979ec16756b41ade3d4b622072f45c529917b4a", kill_on_drop: false }` [INFO] [stdout] ea7d7cfc89255117600cd09b6979ec16756b41ade3d4b622072f45c529917b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87c1998cc7de09b9d37774f66d2fd6629c57aa50a537c1e18803b0640557dee9 [INFO] running `Command { std: "docker" "start" "-a" "87c1998cc7de09b9d37774f66d2fd6629c57aa50a537c1e18803b0640557dee9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling pyth-client v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.1 [INFO] [stderr] Compiling solana-frozen-abi v1.7.1 [INFO] [stderr] Compiling solana-program v1.7.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-logger v1.7.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling solana-sdk-macro v1.7.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling serde_json v1.0.64 [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 proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling anchor-syn v0.9.0 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling anchor-attribute-program v0.9.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.9.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.9.0 [INFO] [stderr] Compiling anchor-attribute-account v0.9.0 [INFO] [stderr] Compiling anchor-attribute-state v0.9.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.9.0 [INFO] [stderr] Compiling anchor-attribute-error v0.9.0 [INFO] [stderr] Compiling anchor-attribute-event v0.9.0 [INFO] [stderr] Compiling anchor-lang v0.9.0 [INFO] [stderr] Compiling moet-twap v0.1.0 (/opt/rustwide/workdir/programs/moet-twap) [INFO] [stderr] Compiling pyth v0.1.0 (/opt/rustwide/workdir/programs/pyth) [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> programs/pyth/src/pc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Halted` [INFO] [stdout] --> programs/pyth/src/pc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Halted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Auction` [INFO] [stdout] --> programs/pyth/src/pc.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Auction, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> programs/pyth/src/pc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TWAP` [INFO] [stdout] --> programs/pyth/src/pc.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | TWAP, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Volatility` [INFO] [stdout] --> programs/pyth/src/pc.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Volatility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.34s [INFO] running `Command { std: "docker" "inspect" "87c1998cc7de09b9d37774f66d2fd6629c57aa50a537c1e18803b0640557dee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c1998cc7de09b9d37774f66d2fd6629c57aa50a537c1e18803b0640557dee9", kill_on_drop: false }` [INFO] [stdout] 87c1998cc7de09b9d37774f66d2fd6629c57aa50a537c1e18803b0640557dee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a65ad00f197aeb650bf93fb934487b184d52656e3552d60af371a2356f7fc5fe [INFO] running `Command { std: "docker" "start" "-a" "a65ad00f197aeb650bf93fb934487b184d52656e3552d60af371a2356f7fc5fe", kill_on_drop: false }` [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> programs/pyth/src/pc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Halted` [INFO] [stdout] --> programs/pyth/src/pc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Halted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Auction` [INFO] [stdout] --> programs/pyth/src/pc.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Auction, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling moet-twap v0.1.0 (/opt/rustwide/workdir/programs/moet-twap) [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> programs/pyth/src/pc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pyth v0.1.0 (/opt/rustwide/workdir/programs/pyth) [INFO] [stdout] warning: variant is never constructed: `TWAP` [INFO] [stdout] --> programs/pyth/src/pc.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | TWAP, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Volatility` [INFO] [stdout] --> programs/pyth/src/pc.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Volatility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> programs/pyth/src/pc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Halted` [INFO] [stdout] --> programs/pyth/src/pc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Halted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Auction` [INFO] [stdout] --> programs/pyth/src/pc.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Auction, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> programs/pyth/src/pc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TWAP` [INFO] [stdout] --> programs/pyth/src/pc.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | TWAP, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Volatility` [INFO] [stdout] --> programs/pyth/src/pc.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Volatility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> programs/pyth/src/pc.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "a65ad00f197aeb650bf93fb934487b184d52656e3552d60af371a2356f7fc5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a65ad00f197aeb650bf93fb934487b184d52656e3552d60af371a2356f7fc5fe", kill_on_drop: false }` [INFO] [stdout] a65ad00f197aeb650bf93fb934487b184d52656e3552d60af371a2356f7fc5fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb0ed769471bbebf3683e41c204f63712d2fb34482f57eec6dbd352e03baa257 [INFO] running `Command { std: "docker" "start" "-a" "eb0ed769471bbebf3683e41c204f63712d2fb34482f57eec6dbd352e03baa257", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> programs/pyth/src/pc.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> programs/pyth/src/pc.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Halted` [INFO] [stderr] --> programs/pyth/src/pc.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Halted, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> programs/pyth/src/pc.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Auction` [INFO] [stderr] --> programs/pyth/src/pc.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Auction, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PriceStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> programs/pyth/src/pc.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> programs/pyth/src/pc.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> programs/pyth/src/pc.rs:56:16 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TWAP` [INFO] [stderr] --> programs/pyth/src/pc.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | TWAP, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> programs/pyth/src/pc.rs:56:16 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Volatility` [INFO] [stderr] --> programs/pyth/src/pc.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | Volatility, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PriceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> programs/pyth/src/pc.rs:56:16 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pyth` (lib) generated 6 warnings [INFO] [stderr] warning: `pyth` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.43s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/moet_twap-bc94124aa929d99a) [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] Running unittests (/opt/rustwide/target/debug/deps/pyth-05d51197847cbafd) [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 moet_twap [INFO] [stderr] error[E0659]: `moet_twap` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/moet-twap/src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | mod moet_twap { [INFO] [stderr] | ^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `moet_twap` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::moet_twap` to refer to this crate unambiguously [INFO] [stderr] note: `moet_twap` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/moet-twap/src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / mod moet_twap { [INFO] [stderr] 7 | | use super::*; [INFO] [stderr] 8 | | [INFO] [stderr] 9 | | const ONE_MINUTE: i64 = 1; [INFO] [stderr] ... | [INFO] [stderr] 52 | | } [INFO] [stderr] 53 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::moet_twap` to refer to this module unambiguously [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [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" "eb0ed769471bbebf3683e41c204f63712d2fb34482f57eec6dbd352e03baa257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0ed769471bbebf3683e41c204f63712d2fb34482f57eec6dbd352e03baa257", kill_on_drop: false }` [INFO] [stdout] eb0ed769471bbebf3683e41c204f63712d2fb34482f57eec6dbd352e03baa257