[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 try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitrobiani%2Fdata_structs_rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitrobiani/data_structs_rs on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "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-4-tc2/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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ed1570f994ca004ef721e1fb1a7dab6e8585d190a8924348e2b930a6b53d22b [INFO] running `Command { std: "docker" "start" "-a" "6ed1570f994ca004ef721e1fb1a7dab6e8585d190a8924348e2b930a6b53d22b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ed1570f994ca004ef721e1fb1a7dab6e8585d190a8924348e2b930a6b53d22b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed1570f994ca004ef721e1fb1a7dab6e8585d190a8924348e2b930a6b53d22b", kill_on_drop: false }` [INFO] [stdout] 6ed1570f994ca004ef721e1fb1a7dab6e8585d190a8924348e2b930a6b53d22b [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56219e1ce8b989d261751f6a0143d8ad7abf20cd44315b7d2d9bd06579db9e50 [INFO] running `Command { std: "docker" "start" "-a" "56219e1ce8b989d261751f6a0143d8ad7abf20cd44315b7d2d9bd06579db9e50", kill_on_drop: false }` [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" "56219e1ce8b989d261751f6a0143d8ad7abf20cd44315b7d2d9bd06579db9e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56219e1ce8b989d261751f6a0143d8ad7abf20cd44315b7d2d9bd06579db9e50", kill_on_drop: false }` [INFO] [stdout] 56219e1ce8b989d261751f6a0143d8ad7abf20cd44315b7d2d9bd06579db9e50