[INFO] cloning repository https://github.com/vitrobiani/data_structs_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitrobiani/data_structs_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitrobiani%2Fdata_structs_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitrobiani%2Fdata_structs_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de501e83be99d642b03ab11e09aed7ac34c554ef [INFO] checking vitrobiani/data_structs_rs against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitrobiani%2Fdata_structs_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitrobiani/data_structs_rs on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitrobiani/data_structs_rs [INFO] finished tweaking git repo https://github.com/vitrobiani/data_structs_rs [INFO] tweaked toml for git repo https://github.com/vitrobiani/data_structs_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vitrobiani/data_structs_rs 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" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95fe60549fdc2494239d94c61e891d9ff43507481c4506b057216860d5124b33 [INFO] running `Command { std: "docker" "start" "-a" "95fe60549fdc2494239d94c61e891d9ff43507481c4506b057216860d5124b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95fe60549fdc2494239d94c61e891d9ff43507481c4506b057216860d5124b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95fe60549fdc2494239d94c61e891d9ff43507481c4506b057216860d5124b33", kill_on_drop: false }` [INFO] [stdout] 95fe60549fdc2494239d94c61e891d9ff43507481c4506b057216860d5124b33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a86508f3190371103d6ba478fb69e251d30e9aa85443b84aefc7c8385d866f [INFO] running `Command { std: "docker" "start" "-a" "54a86508f3190371103d6ba478fb69e251d30e9aa85443b84aefc7c8385d866f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ordered-float v4.5.0 [INFO] [stderr] Checking data_structs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | probability::Urn::new(3); [INFO] [stdout] | --------------------- ^ expected `&[(BallColors, i32)]`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(BallColors, i32)]` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/probability.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(pairs: &[(BallColors, i32)]) -> Self { [INFO] [stdout] | ^^^ --------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `data_structs` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "54a86508f3190371103d6ba478fb69e251d30e9aa85443b84aefc7c8385d866f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a86508f3190371103d6ba478fb69e251d30e9aa85443b84aefc7c8385d866f", kill_on_drop: false }` [INFO] [stdout] 54a86508f3190371103d6ba478fb69e251d30e9aa85443b84aefc7c8385d866f