[INFO] cloning repository https://github.com/xichaCode/rust_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xichaCode/rust_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxichaCode%2Frust_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxichaCode%2Frust_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b25cb46745ee87cbf3f45373f491f880812ca9e0 [INFO] checking xichaCode/rust_project against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxichaCode%2Frust_project" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xichaCode/rust_project on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xichaCode/rust_project [INFO] finished tweaking git repo https://github.com/xichaCode/rust_project [INFO] tweaked toml for git repo https://github.com/xichaCode/rust_project written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xichaCode/rust_project 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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 134bb1eac219d0539a315d4d049bdbb9b01fd109ad26f6a9b25d269505b0a4db [INFO] running `Command { std: "docker" "start" "-a" "134bb1eac219d0539a315d4d049bdbb9b01fd109ad26f6a9b25d269505b0a4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "134bb1eac219d0539a315d4d049bdbb9b01fd109ad26f6a9b25d269505b0a4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134bb1eac219d0539a315d4d049bdbb9b01fd109ad26f6a9b25d269505b0a4db", kill_on_drop: false }` [INFO] [stdout] 134bb1eac219d0539a315d4d049bdbb9b01fd109ad26f6a9b25d269505b0a4db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2925f2efeccc21bac10f43badd9d03999379ed9939fcb112fc8d7d82394eb85c [INFO] running `Command { std: "docker" "start" "-a" "2925f2efeccc21bac10f43badd9d03999379ed9939fcb112fc8d7d82394eb85c", kill_on_drop: false }` [INFO] [stderr] Checking rust_table v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ins.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn search(data: Vec, target: E) -> i32 { [INFO] [stdout] | ------ ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/ins.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn temp(first : T ,last: T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/ins.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn temp(first : T ,last: T){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_table` (bin "rust_table") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ins.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn search(data: Vec, target: E) -> i32 { [INFO] [stdout] | ------ ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/ins.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn temp(first : T ,last: T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/ins.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn temp(first : T ,last: T){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_table` (bin "rust_table" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2925f2efeccc21bac10f43badd9d03999379ed9939fcb112fc8d7d82394eb85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2925f2efeccc21bac10f43badd9d03999379ed9939fcb112fc8d7d82394eb85c", kill_on_drop: false }` [INFO] [stdout] 2925f2efeccc21bac10f43badd9d03999379ed9939fcb112fc8d7d82394eb85c