[INFO] cloning repository https://github.com/joaoeudes7/Algoritmos-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joaoeudes7/Algoritmos-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoeudes7%2FAlgoritmos-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoeudes7%2FAlgoritmos-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7926854c71573e0bb84d3c9be85611c8ee6ae6d [INFO] checking joaoeudes7/Algoritmos-Rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoeudes7%2FAlgoritmos-Rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joaoeudes7/Algoritmos-Rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joaoeudes7/Algoritmos-Rust [INFO] finished tweaking git repo https://github.com/joaoeudes7/Algoritmos-Rust [INFO] tweaked toml for git repo https://github.com/joaoeudes7/Algoritmos-Rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/joaoeudes7/Algoritmos-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ff1e18c0768b138251752ebd2b7e2f3bbe58571e48b53abcd76786d312929e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ff1e18c0768b138251752ebd2b7e2f3bbe58571e48b53abcd76786d312929e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ff1e18c0768b138251752ebd2b7e2f3bbe58571e48b53abcd76786d312929e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff1e18c0768b138251752ebd2b7e2f3bbe58571e48b53abcd76786d312929e3", kill_on_drop: false }` [INFO] [stdout] 9ff1e18c0768b138251752ebd2b7e2f3bbe58571e48b53abcd76786d312929e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b84edd02848886bd741e37a80b0c678adbfc102413282cb57a8241dea8120e11 [INFO] running `Command { std: "docker" "start" "-a" "b84edd02848886bd741e37a80b0c678adbfc102413282cb57a8241dea8120e11", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rust_algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found keyword `mut` [INFO] [stdout] --> src/bin/binary_tree.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn b_search(array: mut [i32], start: i32, end: i32, k: i32) -> [i32] { [INFO] [stdout] | ^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `mut` [INFO] [stdout] --> src/bin/binary_tree.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn b_search(array: mut [i32], start: i32, end: i32, k: i32) -> [i32] { [INFO] [stdout] | ^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_item` [INFO] [stdout] --> src/bin/unknown.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn has_item(vec: Vec, item: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_item` [INFO] [stdout] --> src/bin/unknown.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn has_item(vec: Vec, item: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `Tree` has infinite size [INFO] [stdout] --> src/bin/binary_tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | struct Tree { [INFO] [stdout] | ^^^^^^^^^^^^^^ recursive type has infinite size [INFO] [stdout] 2 | value: T, [INFO] [stdout] 3 | left: Option>, [INFO] [stdout] | --------------- recursive without indirection [INFO] [stdout] 4 | right: Option> [INFO] [stdout] | --------------- recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `Tree` representable [INFO] [stdout] | [INFO] [stdout] 3 | left: Box>>, [INFO] [stdout] 4 | right: Box>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `Tree` has infinite size [INFO] [stdout] --> src/bin/binary_tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | struct Tree { [INFO] [stdout] | ^^^^^^^^^^^^^^ recursive type has infinite size [INFO] [stdout] 2 | value: T, [INFO] [stdout] 3 | left: Option>, [INFO] [stdout] | --------------- recursive without indirection [INFO] [stdout] 4 | right: Option> [INFO] [stdout] | --------------- recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `Tree` representable [INFO] [stdout] | [INFO] [stdout] 3 | left: Box>>, [INFO] [stdout] 4 | right: Box>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/binary_tree.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert(&mut self, new_value: T) -> Self { [INFO] [stdout] | ---- expected `Tree` because of return type [INFO] [stdout] ... [INFO] [stdout] 29 | return node; [INFO] [stdout] | ^^^^ expected struct `Tree`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Tree<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/binary_tree.rs:33:64 [INFO] [stdout] | [INFO] [stdout] 33 | fn b_search(array: mut [i32], start: i32, end: i32, k: i32) -> [i32] { [INFO] [stdout] | -------- ^^^^^ expected slice `[i32]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/binary_tree.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert(&mut self, new_value: T) -> Self { [INFO] [stdout] | ---- expected `Tree` because of return type [INFO] [stdout] ... [INFO] [stdout] 29 | return node; [INFO] [stdout] | ^^^^ expected struct `Tree`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Tree<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/binary_tree.rs:33:64 [INFO] [stdout] | [INFO] [stdout] 33 | fn b_search(array: mut [i32], start: i32, end: i32, k: i32) -> [i32] { [INFO] [stdout] | -------- ^^^^^ expected slice `[i32]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[i32]` cannot be known at compilation time [INFO] [stdout] --> src/bin/binary_tree.rs:33:64 [INFO] [stdout] | [INFO] [stdout] 33 | fn b_search(array: mut [i32], start: i32, end: i32, k: i32) -> [i32] { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[i32]` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[i32]` cannot be known at compilation time [INFO] [stdout] --> src/bin/binary_tree.rs:33:64 [INFO] [stdout] | [INFO] [stdout] 33 | fn b_search(array: mut [i32], start: i32, end: i32, k: i32) -> [i32] { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[i32]` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_algorithms` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b84edd02848886bd741e37a80b0c678adbfc102413282cb57a8241dea8120e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b84edd02848886bd741e37a80b0c678adbfc102413282cb57a8241dea8120e11", kill_on_drop: false }` [INFO] [stdout] b84edd02848886bd741e37a80b0c678adbfc102413282cb57a8241dea8120e11