[INFO] crate dahl-salso 0.1.0 is already in cache [INFO] checking dahl-salso-0.1.0 against master#2da942f32802c8233a09744024dfbc34431adf65 for pr-66963 [INFO] extracting crate dahl-salso 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate dahl-salso 0.1.0 on toolchain 2da942f32802c8233a09744024dfbc34431adf65 [INFO] running `"/workspace/cargo-home/bin/cargo" "+2da942f32802c8233a09744024dfbc34431adf65" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate dahl-salso 0.1.0 [INFO] finished tweaking crates.io crate dahl-salso 0.1.0 [INFO] tweaked toml for crates.io crate dahl-salso 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+2da942f32802c8233a09744024dfbc34431adf65" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2da942f32802c8233a09744024dfbc34431adf65" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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" "+2da942f32802c8233a09744024dfbc34431adf65" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c0ed0b57dc6d7cb01d20ee4a9175eaba50a772a59fe4a052ee5da7f29e539d12 [INFO] running `"docker" "start" "-a" "c0ed0b57dc6d7cb01d20ee4a9175eaba50a772a59fe4a052ee5da7f29e539d12"` [INFO] [stderr] Checking dahl-partition v0.3.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking dahl-salso v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `distribution`? [INFO] [stderr] --> src/loss.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | use crate::distribution::crp::sample; [INFO] [stderr] | ^^^^^^^^^^^^ maybe a missing crate `distribution`? [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `summary`? [INFO] [stderr] --> src/loss.rs:139:30 [INFO] [stderr] | [INFO] [stderr] 139 | let mut psm = crate::summary::psm::psm(&samples.view(), true); [INFO] [stderr] | ^^^^^^^ maybe a missing crate `summary`? [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in this scope [INFO] [stderr] --> src/loss.rs:137:37 [INFO] [stderr] | [INFO] [stderr] 137 | samples.push_partition(&sample(n_items, mass)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a local variable with a similar name exists [INFO] [stderr] | [INFO] [stderr] 137 | samples.push_partition(&samples(n_items, mass)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 127 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `dahl-salso`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c0ed0b57dc6d7cb01d20ee4a9175eaba50a772a59fe4a052ee5da7f29e539d12"` [INFO] running `"docker" "rm" "-f" "c0ed0b57dc6d7cb01d20ee4a9175eaba50a772a59fe4a052ee5da7f29e539d12"` [INFO] [stdout] c0ed0b57dc6d7cb01d20ee4a9175eaba50a772a59fe4a052ee5da7f29e539d12