[INFO] cloning repository https://github.com/oznuryakut/marketsim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oznuryakut/marketsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foznuryakut%2Fmarketsim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foznuryakut%2Fmarketsim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42c0632711db46e51cd39df1dd859179afdc3ce0
[INFO] checking oznuryakut/marketsim against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foznuryakut%2Fmarketsim" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/oznuryakut/marketsim
[INFO] finished tweaking git repo https://github.com/oznuryakut/marketsim
[INFO] tweaked toml for git repo https://github.com/oznuryakut/marketsim written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oznuryakut/marketsim on toolchain 4e55a504843955c97eb06907c71f6f3e99208021
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oznuryakut/marketsim 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bea498e991b4583f0f89b9f054f611e3ec537aee600fa2b18b0fda42e139ce0e
[INFO] running `Command { std: "docker" "start" "-a" "bea498e991b4583f0f89b9f054f611e3ec537aee600fa2b18b0fda42e139ce0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bea498e991b4583f0f89b9f054f611e3ec537aee600fa2b18b0fda42e139ce0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bea498e991b4583f0f89b9f054f611e3ec537aee600fa2b18b0fda42e139ce0e", kill_on_drop: false }`
[INFO] [stdout] bea498e991b4583f0f89b9f054f611e3ec537aee600fa2b18b0fda42e139ce0e
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e525b78619cb7308623379158a293ae23d1c61455ceb535b65d3fa2e10a6fbc
[INFO] running `Command { std: "docker" "start" "-a" "2e525b78619cb7308623379158a293ae23d1c61455ceb535b65d3fa2e10a6fbc", kill_on_drop: false }`
[INFO] [stderr]     Checking market_simulation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found `4`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Customer {4
[INFO] [stdout]   |        --------  ^ expected identifier
[INFO] [stdout]   |        |
[INFO] [stdout]   |        while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `4`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Customer {4
[INFO] [stdout]   |        --------  ^ expected identifier
[INFO] [stdout]   |        |
[INFO] [stdout]   |        while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Customer {ß
[INFO] [stdout]    |               - - expected one of `!` or `::`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               while parsing this item list starting here
[INFO] [stdout] 21 |     // Ürün satın alma fonksiyonu
[INFO] [stdout] 22 |     fn buy_product(&mut self, product: &mut Product, quantity: u32) -> bool {
[INFO] [stdout]    |     ^^ unexpected token
[INFO] [stdout] ...
[INFO] [stdout] 32 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Customer {ß
[INFO] [stdout]    |               - - expected one of `!` or `::`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               while parsing this item list starting here
[INFO] [stdout] 21 |     // Ürün satın alma fonksiyonu
[INFO] [stdout] 22 |     fn buy_product(&mut self, product: &mut Product, quantity: u32) -> bool {
[INFO] [stdout]    |     ^^ unexpected token
[INFO] [stdout] ...
[INFO] [stdout] 32 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `buy_product` found for mutable reference `&mut Customer` in the current scope
[INFO] [stdout]    --> src/main.rs:154:33
[INFO] [stdout]     |
[INFO] [stdout] 154 |                         if cust.buy_product(prod, quantity) {
[INFO] [stdout]     |                                 ^^^^^^^^^^^ method not found in `&mut Customer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `buy_product` found for mutable reference `&mut Customer` in the current scope
[INFO] [stdout]    --> src/main.rs:154:33
[INFO] [stdout]     |
[INFO] [stdout] 154 |                         if cust.buy_product(prod, quantity) {
[INFO] [stdout]     |                                 ^^^^^^^^^^^ method not found in `&mut Customer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `market_simulation` (bin "market_simulation" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `market_simulation` (bin "market_simulation") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "2e525b78619cb7308623379158a293ae23d1c61455ceb535b65d3fa2e10a6fbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e525b78619cb7308623379158a293ae23d1c61455ceb535b65d3fa2e10a6fbc", kill_on_drop: false }`
[INFO] [stdout] 2e525b78619cb7308623379158a293ae23d1c61455ceb535b65d3fa2e10a6fbc
