[INFO] cloning repository https://github.com/tylerriccio33/fast_map [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylerriccio33/fast_map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerriccio33%2Ffast_map", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerriccio33%2Ffast_map'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 592bc942855caaa609998526767a84010d8d7765 [INFO] checking tylerriccio33/fast_map against try#81185c2d21df0ba45fd33e65bbdce76dc0d89bd9 for pr-139646 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerriccio33%2Ffast_map" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylerriccio33/fast_map on toolchain 81185c2d21df0ba45fd33e65bbdce76dc0d89bd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tylerriccio33/fast_map [INFO] finished tweaking git repo https://github.com/tylerriccio33/fast_map [INFO] tweaked toml for git repo https://github.com/tylerriccio33/fast_map written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tylerriccio33/fast_map 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" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extendr-macros v0.6.0 [INFO] [stderr] Downloaded extendr-api v0.6.0 [INFO] [stderr] Downloaded libR-sys v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17faac39174dce13b3791d939da1fcad4d35230d55d5381957ee990bba703078 [INFO] running `Command { std: "docker" "start" "-a" "17faac39174dce13b3791d939da1fcad4d35230d55d5381957ee990bba703078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17faac39174dce13b3791d939da1fcad4d35230d55d5381957ee990bba703078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17faac39174dce13b3791d939da1fcad4d35230d55d5381957ee990bba703078", kill_on_drop: false }` [INFO] [stdout] 17faac39174dce13b3791d939da1fcad4d35230d55d5381957ee990bba703078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cbd2c6815889fb15583929b8ab46f0aebf50a6aed3307552b7c3bca4b69d432 [INFO] running `Command { std: "docker" "start" "-a" "4cbd2c6815889fb15583929b8ab46f0aebf50a6aed3307552b7c3bca4b69d432", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libR-sys v0.6.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling extendr-api v0.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling extendr-macros v0.6.0 [INFO] [stderr] Checking fast_map v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: function `map_int` is private [INFO] [stdout] --> src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let result = map::map_int(xs, ys, fn_dicts::coalesce_int); [INFO] [stdout] | ^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `map_int` is defined here [INFO] [stdout] --> src/map.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn map_int(x: &[i32], y: &[i32]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `map_int` is private [INFO] [stdout] --> src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let result = map::map_int(xs, ys, fn_dicts::coalesce_int); [INFO] [stdout] | ^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `map_int` is defined here [INFO] [stdout] --> src/map.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn map_int(x: &[i32], y: &[i32]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn map_int(x: &[i32], y: &[i32]) { [INFO] [stdout] | - help: try adding a return type: `-> Vec` [INFO] [stdout] ... [INFO] [stdout] 12 | return vec [INFO] [stdout] | ^^^ expected `()`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn map_int(x: &[i32], y: &[i32]) { [INFO] [stdout] | - help: try adding a return type: `-> Vec` [INFO] [stdout] ... [INFO] [stdout] 12 | return vec [INFO] [stdout] | ^^^ expected `()`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let result = map::map_int(xs, ys, fn_dicts::coalesce_int); [INFO] [stdout] | ^^^^^^^^^^^^ ---------------------- unexpected argument #3 of type `for<'a, 'b> fn(&'a i32, &'b i32) -> i32 {coalesce_int}` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/map.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn map_int(x: &[i32], y: &[i32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 11 - let result = map::map_int(xs, ys, fn_dicts::coalesce_int); [INFO] [stdout] 11 + let result = map::map_int(xs, ys); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let result = map::map_int(xs, ys, fn_dicts::coalesce_int); [INFO] [stdout] | ^^^^^^^^^^^^ ---------------------- unexpected argument #3 of type `for<'a, 'b> fn(&'a i32, &'b i32) -> i32 {coalesce_int}` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/map.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn map_int(x: &[i32], y: &[i32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 11 - let result = map::map_int(xs, ys, fn_dicts::coalesce_int); [INFO] [stdout] 11 + let result = map::map_int(xs, ys); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | for x in result { [INFO] [stdout] | ^^^^^^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] = note: required for `()` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | for x in result { [INFO] [stdout] | ^^^^^^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] = note: required for `()` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast_map` (bin "fast_map") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fast_map` (bin "fast_map" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4cbd2c6815889fb15583929b8ab46f0aebf50a6aed3307552b7c3bca4b69d432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cbd2c6815889fb15583929b8ab46f0aebf50a6aed3307552b7c3bca4b69d432", kill_on_drop: false }` [INFO] [stdout] 4cbd2c6815889fb15583929b8ab46f0aebf50a6aed3307552b7c3bca4b69d432