[INFO] cloning repository https://github.com/mahelika/superdev-week3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahelika/superdev-week3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahelika%2Fsuperdev-week3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahelika%2Fsuperdev-week3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fba088483843a07fd9f00e2bb845c7ea489171fc [INFO] checking mahelika/superdev-week3 against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahelika%2Fsuperdev-week3" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mahelika/superdev-week3 [INFO] finished tweaking git repo https://github.com/mahelika/superdev-week3 [INFO] tweaked toml for git repo https://github.com/mahelika/superdev-week3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mahelika/superdev-week3 on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mahelika/superdev-week3 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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e11956919736a82a935a60c3dd3d896512f4e1f45c15cd8ddad5c7a7ed4d86d [INFO] running `Command { std: "docker" "start" "-a" "5e11956919736a82a935a60c3dd3d896512f4e1f45c15cd8ddad5c7a7ed4d86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e11956919736a82a935a60c3dd3d896512f4e1f45c15cd8ddad5c7a7ed4d86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e11956919736a82a935a60c3dd3d896512f4e1f45c15cd8ddad5c7a7ed4d86d", kill_on_drop: false }` [INFO] [stdout] 5e11956919736a82a935a60c3dd3d896512f4e1f45c15cd8ddad5c7a7ed4d86d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0e0d0852534681f809d33dfc720503d95854bc9ea604c1aedbc7b97cbbf0171 [INFO] running `Command { std: "docker" "start" "-a" "d0e0d0852534681f809d33dfc720503d95854bc9ea604c1aedbc7b97cbbf0171", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking superdev-orderbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::types` [INFO] [stdout] --> src/orderbook.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::{CreateOrder, DeleteOrder, Side}; [INFO] [stdout] | ^^^^^ could not find `types` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::types` [INFO] [stdout] --> src/orderbook.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::{CreateOrder, DeleteOrder, Side}; [INFO] [stdout] | ^^^^^ could not find `types` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/routes.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let price = body.0.price; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> src/routes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let quantity = body.0.quantity; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/routes.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let user_id = body.0.user_id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/routes.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let side = body.0.side; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/routes.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let order_id = body.order_id; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/routes.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let price = body.0.price; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> src/routes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let quantity = body.0.quantity; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/routes.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let user_id = body.0.user_id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/routes.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let side = body.0.side; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/routes.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let order_id = body.order_id; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Orderbook` in the current scope [INFO] [stdout] --> src/main.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | let orderbook = Orderbook::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Orderbook` [INFO] [stdout] | [INFO] [stdout] ::: src/orderbook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Orderbook { [INFO] [stdout] | -------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `brotli::enc::backward_references::hash_to_binary_tree::Allocable` [INFO] [stdout] candidate #2: `brotli::enc::threading::AnyBoxConstructor` [INFO] [stdout] candidate #3: `crypto_common::KeyInit` [INFO] [stdout] candidate #4: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #5: `digest::VariableOutput` [INFO] [stdout] candidate #6: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #7: `digest::digest::Digest` [INFO] [stdout] candidate #8: `foldhash::convenience::HashMapExt` [INFO] [stdout] candidate #9: `foldhash::convenience::HashSetExt` [INFO] [stdout] candidate #10: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #11: `rand::distr::uniform::UniformSampler` [INFO] [stdout] candidate #12: `typenum::marker_traits::Bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Orderbook` in the current scope [INFO] [stdout] --> src/main.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | let orderbook = Orderbook::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Orderbook` [INFO] [stdout] | [INFO] [stdout] ::: src/orderbook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Orderbook { [INFO] [stdout] | -------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `brotli::enc::backward_references::hash_to_binary_tree::Allocable` [INFO] [stdout] candidate #2: `brotli::enc::threading::AnyBoxConstructor` [INFO] [stdout] candidate #3: `crypto_common::KeyInit` [INFO] [stdout] candidate #4: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #5: `digest::VariableOutput` [INFO] [stdout] candidate #6: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #7: `digest::digest::Digest` [INFO] [stdout] candidate #8: `foldhash::convenience::HashMapExt` [INFO] [stdout] candidate #9: `foldhash::convenience::HashSetExt` [INFO] [stdout] candidate #10: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #11: `rand::distr::uniform::UniformSampler` [INFO] [stdout] candidate #12: `typenum::marker_traits::Bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `superdev-orderbook` (bin "superdev-orderbook") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `superdev-orderbook` (bin "superdev-orderbook" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0e0d0852534681f809d33dfc720503d95854bc9ea604c1aedbc7b97cbbf0171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e0d0852534681f809d33dfc720503d95854bc9ea604c1aedbc7b97cbbf0171", kill_on_drop: false }` [INFO] [stdout] d0e0d0852534681f809d33dfc720503d95854bc9ea604c1aedbc7b97cbbf0171