[INFO] cloning repository https://github.com/willtraweek/KnapsackAnalysis_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willtraweek/KnapsackAnalysis_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilltraweek%2FKnapsackAnalysis_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilltraweek%2FKnapsackAnalysis_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1ac3771a60720bf556f0347b88589d0a921cd91 [INFO] checking willtraweek/KnapsackAnalysis_Rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilltraweek%2FKnapsackAnalysis_Rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willtraweek/KnapsackAnalysis_Rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/willtraweek/KnapsackAnalysis_Rust [INFO] finished tweaking git repo https://github.com/willtraweek/KnapsackAnalysis_Rust [INFO] tweaked toml for git repo https://github.com/willtraweek/KnapsackAnalysis_Rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/willtraweek/KnapsackAnalysis_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f0bfbf57786abef02777b2a49512e4b43eaeb2ed116a58736f8f0f07ae899b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "58f0bfbf57786abef02777b2a49512e4b43eaeb2ed116a58736f8f0f07ae899b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f0bfbf57786abef02777b2a49512e4b43eaeb2ed116a58736f8f0f07ae899b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f0bfbf57786abef02777b2a49512e4b43eaeb2ed116a58736f8f0f07ae899b", kill_on_drop: false }` [INFO] [stdout] 58f0bfbf57786abef02777b2a49512e4b43eaeb2ed116a58736f8f0f07ae899b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bf5c8fb9325c87635fcee46380b44d01d918e098fa9a4e9a3f1489d019f5714 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7bf5c8fb9325c87635fcee46380b44d01d918e098fa9a4e9a3f1489d019f5714", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking knapsack_analysis_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `package` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod package; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `package`, create file "src/package.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `package` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod package; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `package`, create file "src/package.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::package::Package` [INFO] [stdout] --> src/utilities/set_creation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::package::Package as Package; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Package` in `package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::package::Package` [INFO] [stdout] --> src/truck.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::package::Package; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Package` in `package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::package::Package` [INFO] [stdout] --> src/warehouse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::package::Package; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Package` in `package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::package::Package` [INFO] [stdout] --> src/utilities/set_creation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::package::Package as Package; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Package` in `package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::package::Package` [INFO] [stdout] --> src/truck.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::package::Package; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Package` in `package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::package::Package` [INFO] [stdout] --> src/warehouse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::package::Package; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Package` in `package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/truck.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | packages: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/warehouse.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | packages: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/truck.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | packages: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `knapsack_analysis_rust` [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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/warehouse.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | packages: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7bf5c8fb9325c87635fcee46380b44d01d918e098fa9a4e9a3f1489d019f5714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf5c8fb9325c87635fcee46380b44d01d918e098fa9a4e9a3f1489d019f5714", kill_on_drop: false }` [INFO] [stdout] 7bf5c8fb9325c87635fcee46380b44d01d918e098fa9a4e9a3f1489d019f5714