[INFO] updating cached repository https://github.com/marcwenz/shopper [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9e9611459e261c0b6f6cedcef5ecc0ad9e58a3f7 [INFO] testing marcwenz/shopper against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcwenz%2Fshopper" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcwenz/shopper on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/marcwenz/shopper [INFO] finished tweaking git repo https://github.com/marcwenz/shopper [INFO] tweaked toml for git repo https://github.com/marcwenz/shopper written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/marcwenz/shopper already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1888c49b4b526893de79c39b595f64949f18342a414f2c589c47febd34db7f17 [INFO] running `"docker" "start" "-a" "1888c49b4b526893de79c39b595f64949f18342a414f2c589c47febd34db7f17"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling shopper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Basket` [INFO] [stderr] --> src/lib.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | let mut basket = Basket::new(shop.basket_capacity); // shop.basket_capacity (u32) for each shop [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Basket` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Shopper` in this scope [INFO] [stderr] --> src/lib.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | fn base_loop(shopper: &mut Shopper, mall: &mut Mall) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mall` in this scope [INFO] [stderr] --> src/lib.rs:5:48 [INFO] [stderr] | [INFO] [stderr] 5 | fn base_loop(shopper: &mut Shopper, mall: &mut Mall) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_user_input` in this scope [INFO] [stderr] --> src/lib.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | let input = get_user_input("[go 'shop'] in shop, display all [shops], [exit] the game, display [stats]"); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `print_stats` in this scope [INFO] [stderr] --> src/lib.rs:24:33 [INFO] [stderr] | [INFO] [stderr] 24 | ... print_stats(shopper); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `print_stats` in this scope [INFO] [stderr] --> src/lib.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | print_stats(&shopper); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `print_stats` in this scope [INFO] [stderr] --> src/lib.rs:43:31 [INFO] [stderr] | [INFO] [stderr] 43 | Some(&"stats") => print_stats(&shopper), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Shopper` in this scope [INFO] [stderr] --> src/lib.rs:54:22 [INFO] [stderr] | [INFO] [stderr] 54 | shopper: &'a mut Shopper, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Shop` in this scope [INFO] [stderr] --> src/lib.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | shop: &mut Shop, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_user_input` in this scope [INFO] [stderr] --> src/lib.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | match &get_user_input( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_user_input` in this scope [INFO] [stderr] --> src/lib.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | let item_name = get_user_input( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `parse_u32` in this scope [INFO] [stderr] --> src/lib.rs:79:36 [INFO] [stderr] | [INFO] [stderr] 79 | let item_quanity = parse_u32("Please enter the quantity:"); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_user_input` in this scope [INFO] [stderr] --> src/lib.rs:104:33 [INFO] [stderr] | [INFO] [stderr] 104 | let item_name = get_user_input("Enter the item to return:"); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `find_item_in_inventory` in this scope [INFO] [stderr] --> src/lib.rs:105:23 [INFO] [stderr] | [INFO] [stderr] 105 | match find_item_in_inventory(&basket.basket, &item_name){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_user_input` in this scope [INFO] [stderr] --> src/lib.rs:107:40 [INFO] [stderr] | [INFO] [stderr] 107 | let quantity = get_user_input("Enter the amount to return ([all] for everything):"); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `return_basket` in this scope [INFO] [stderr] --> src/lib.rs:156:31 [INFO] [stderr] | [INFO] [stderr] 156 | "empty basket" => return_basket(&mut basket, shop), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `return_basket` in this scope [INFO] [stderr] --> src/lib.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | return_basket(&mut basket, shop); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `shopper`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "1888c49b4b526893de79c39b595f64949f18342a414f2c589c47febd34db7f17"` [INFO] running `"docker" "rm" "-f" "1888c49b4b526893de79c39b595f64949f18342a414f2c589c47febd34db7f17"` [INFO] [stdout] 1888c49b4b526893de79c39b595f64949f18342a414f2c589c47febd34db7f17