[INFO] cloning repository https://github.com/ForPrakWS19-20/forprak_rust_ws_19-20 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ForPrakWS19-20/forprak_rust_ws_19-20" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForPrakWS19-20%2Fforprak_rust_ws_19-20", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForPrakWS19-20%2Fforprak_rust_ws_19-20'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b831e196759dee899f10b5342b4fed6491ddc62 [INFO] testing ForPrakWS19-20/forprak_rust_ws_19-20 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForPrakWS19-20%2Fforprak_rust_ws_19-20" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForPrakWS19-20/forprak_rust_ws_19-20 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ForPrakWS19-20/forprak_rust_ws_19-20 [INFO] finished tweaking git repo https://github.com/ForPrakWS19-20/forprak_rust_ws_19-20 [INFO] tweaked toml for git repo https://github.com/ForPrakWS19-20/forprak_rust_ws_19-20 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ForPrakWS19-20/forprak_rust_ws_19-20 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7aa24999fa284afaae224da0e77d30a9e0f1beec86a1e4f9bc5f8f03b1d6951 [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" "d7aa24999fa284afaae224da0e77d30a9e0f1beec86a1e4f9bc5f8f03b1d6951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7aa24999fa284afaae224da0e77d30a9e0f1beec86a1e4f9bc5f8f03b1d6951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7aa24999fa284afaae224da0e77d30a9e0f1beec86a1e4f9bc5f8f03b1d6951", kill_on_drop: false }` [INFO] [stdout] d7aa24999fa284afaae224da0e77d30a9e0f1beec86a1e4f9bc5f8f03b1d6951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 592c7c0a489f678ae8192c97ab4a2df1eee42b8ddccafeddbfd85c096f8575f5 [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" "592c7c0a489f678ae8192c97ab4a2df1eee42b8ddccafeddbfd85c096f8575f5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling Foprak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `block` in this scope [INFO] [stdout] --> src/lib.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Block{ [INFO] [stdout] | ---------------- similarly named struct `Block` defined here [INFO] [stdout] ... [INFO] [stdout] 39 | child: block, [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `Block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Point` [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 56 | / pub struct Point{ [INFO] [stdout] 57 | | //Pos 0: x, Pos 1: y [INFO] [stdout] 58 | | //coor:Vec [INFO] [stdout] 59 | | x:f64, [INFO] [stdout] 60 | | y:f64 [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- `Point` defined here [INFO] [stdout] ... [INFO] [stdout] 71 | Point(x,y) [INFO] [stdout] | ^^^^^^^^^^ help: use struct literal syntax instead: `Point { x: val, y: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `MBRect` [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 63 | / pub struct MBRect{ [INFO] [stdout] 64 | | num: usize, [INFO] [stdout] 65 | | botton_left:Point, [INFO] [stdout] 66 | | top_right:Point, [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- `MBRect` defined here [INFO] [stdout] ... [INFO] [stdout] 77 | MBRect(id,bl,tp) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `MBRect { num: val, botton_left: val, top_right: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `node` in this scope [INFO] [stdout] --> src/lib.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | match node{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `Node` [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | Node{leaf, content, rect,id} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 127 | None{leaf, content, rect,id} [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use crate::fs::io::sys::ext::net::sys_common::util::thread::panic::collections::linked_list::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rect` in this scope [INFO] [stdout] --> src/lib.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | Node{leaf, content, rect,id} [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found struct variant `Node::Leaf` [INFO] [stdout] --> src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 37 | / Leaf{ [INFO] [stdout] 38 | | mbr:MBRect, [INFO] [stdout] 39 | | child: block, [INFO] [stdout] 40 | | index_zeige:usize [INFO] [stdout] 41 | | }, [INFO] [stdout] | |_____- `Node::Leaf` defined here [INFO] [stdout] ... [INFO] [stdout] 145 | Node::Leaf => true, [INFO] [stdout] | ^^^^^^^^^^ help: use struct pattern syntax instead: `Node::Leaf { mbr, child, index_zeige }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found struct variant `Node::InnerNode` [INFO] [stdout] --> src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 42 | / InnerNode{ [INFO] [stdout] 43 | | id:usize, [INFO] [stdout] 44 | | mbr: MBRect, [INFO] [stdout] 45 | | children: Vec [INFO] [stdout] 46 | | }, [INFO] [stdout] | |_____- `Node::InnerNode` defined here [INFO] [stdout] ... [INFO] [stdout] 146 | Node::InnerNode => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use struct pattern syntax instead: `Node::InnerNode { id, mbr, children }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `root` in this scope [INFO] [stdout] --> src/lib.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | let mut block = self.bfa.get(root); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `erg_part` in this scope [INFO] [stdout] --> src/lib.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | for i in 0..erg_part.len()-1{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `erg_part` in this scope [INFO] [stdout] --> src/lib.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | erg.push(erg_part[i]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `overlapped` in this scope [INFO] [stdout] --> src/lib.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | overlapped [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `root` in this scope [INFO] [stdout] --> src/lib.rs:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | let mut block = self.bfa.get(root); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/lib.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | use std::intrinsics::breakpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | let min_x = min(p1.coor[0], p2.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | let min_x = min(p1.coor[0], p2.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | let min_y = min(p1.coor[1], p2.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | let min_y = min(p1.coor[1], p2.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | let max_x = max(p1.coor[0], p2.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | let max_x = max(p1.coor[0], p2.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let max_y = max(p1.coor[1], p2.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `Point` [INFO] [stdout] --> src/lib.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | let max_y = max(p1.coor[1], p2.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let min_x = min(p1.coor[0], p2.coor[0]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let min_y = min(p1.coor[1], p2.coor[1]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let max_x = max(p1.coor[0], p2.coor[0]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let max_y = max(p1.coor[1], p2.coor[1]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let min_x = min(p2.coor[0], p4.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | let min_x = min(p2.coor[0], p4.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | let min_y = min(p2.coor[1], p4.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | let min_y = min(p2.coor[1], p4.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let max_x = max(p1.coor[0], p3.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let max_x = max(p1.coor[0], p3.coor[0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | let max_y = max(p1.coor[1], p3.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coor` on type `&Point` [INFO] [stdout] --> src/lib.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | let max_y = max(p1.coor[1], p3.coor[1]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `x`, `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let min_x = min(p2.coor[0], p4.coor[0]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let min_y = min(p2.coor[1], p4.coor[1]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | let max_x = max(p1.coor[0], p3.coor[0]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let max_y = max(p1.coor[1], p3.coor[1]); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `max` on type `&MBRect` [INFO] [stdout] --> src/lib.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | return !((self.max.coor.get(1) < other.min.coor.get(1)) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `min` on type `MBRect` [INFO] [stdout] --> src/lib.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | return !((self.max.coor.get(1) < other.min.coor.get(1)) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `max` on type `MBRect` [INFO] [stdout] --> src/lib.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | || (other.max.coor.get(1) < self.min.coor.get(1)) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `min` on type `&MBRect` [INFO] [stdout] --> src/lib.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | || (other.max.coor.get(1) < self.min.coor.get(1)) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `max` on type `&MBRect` [INFO] [stdout] --> src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | ||(self.max.coor.get(0) < other.min.coor.get(0)) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `min` on type `MBRect` [INFO] [stdout] --> src/lib.rs:109:45 [INFO] [stdout] | [INFO] [stdout] 109 | ||(self.max.coor.get(0) < other.min.coor.get(0)) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `max` on type `MBRect` [INFO] [stdout] --> src/lib.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | ||(other.max.coor.get(0) < self.min.coor.get(0))) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `min` on type `&MBRect` [INFO] [stdout] --> src/lib.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | ||(other.max.coor.get(0) < self.min.coor.get(0))) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `num`, `botton_left`, `top_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node: _IMPL_DESERIALIZE_FOR_Student::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let node = bincode::deserialize(block.contents.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_Student::_serde::Deserialize<'_>` is not implemented for `Node` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bincode-1.2.1/src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | -------------------------- required by this bound in `bincode::deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_leaf` found for mutable reference `&mut RTree` in the current scope [INFO] [stdout] --> src/lib.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | if !self.is_leaf(&root_node){ [INFO] [stdout] | ^^^^^^^ method not found in `&mut RTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `content` on type `Node` [INFO] [stdout] --> src/lib.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | for i in 0.. root_node.content.len()-1{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `Node` [INFO] [stdout] --> src/lib.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | let tmp_id = tmp_node.id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_leaf` found for mutable reference `&mut RTree` in the current scope [INFO] [stdout] --> src/lib.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | if !self.is_leaf(&tmp_node){ [INFO] [stdout] | ^^^^^^^ method not found in `&mut RTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `leaf` on type `Node` [INFO] [stdout] --> src/lib.rs:186:84 [INFO] [stdout] | [INFO] [stdout] 186 | while !(Node::from_block(& mut (self.bfa.get(tmp_gruppe[0])))).leaf{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `Node` [INFO] [stdout] --> src/lib.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | let erg_id = erg_node.id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `std::vec::Vec` as `std::vec::Vec` [INFO] [stdout] --> src/lib.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | Some(block.contents as Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_leaf` found for mutable reference `&mut RTree` in the current scope [INFO] [stdout] --> src/lib.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.is_leaf(&tmp_node){ [INFO] [stdout] | ^^^^^^^ method not found in `&mut RTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `Node` [INFO] [stdout] --> src/lib.rs:231:47 [INFO] [stdout] | [INFO] [stdout] 231 | let child_id = child_node.id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_leaf` found for mutable reference `&mut RTree` in the current scope [INFO] [stdout] --> src/lib.rs:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | if !self.is_leaf(&tmp_node){ [INFO] [stdout] | ^^^^^^^ method not found in `&mut RTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `Node` [INFO] [stdout] --> src/lib.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | let child_id= child_node.id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | fn search_leaf(&mut self, rect:&MBRect, & tmp:usize) -> Vec { [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected `usize`, found reference [INFO] [stdout] | help: did you mean `tmp`: `&usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_leaf` found for mutable reference `&mut RTree` in the current scope [INFO] [stdout] --> src/lib.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | if self.is_leaf(&tmp_node){ [INFO] [stdout] | ^^^^^^^ method not found in `&mut RTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `usize` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/lib.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | erg = tmp.block.contents as Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>=` cannot be applied to type `&Point` [INFO] [stdout] --> src/lib.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 289 | if sbl >= bbl && str <= btr{ } [INFO] [stdout] | --- ^^ --- &Point [INFO] [stdout] | | [INFO] [stdout] | &Point [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialOrd` might be missing for `&Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<=` cannot be applied to type `&Point` [INFO] [stdout] --> src/lib.rs:289:30 [INFO] [stdout] | [INFO] [stdout] 289 | if sbl >= bbl && str <= btr{ } [INFO] [stdout] | --- ^^ --- &Point [INFO] [stdout] | | [INFO] [stdout] | &Point [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialOrd` might be missing for `&Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | let neu_bl_x = min(sbl.x,bbl.x); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | let neu_bl_y = min(sbl.y,bbl.y); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | let neu_tr_x = max(str.x,btr.x); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: std::cmp::Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | let neu_tr_y = max(str.y,btr.y); [INFO] [stdout] | ^^^ the trait `std::cmp::Ord` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_leaf` found for mutable reference `&mut RTree` in the current scope [INFO] [stdout] --> src/lib.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | if self.is_leaf(&root_node) { [INFO] [stdout] | ^^^^^^^ method not found in `&mut RTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `content` on type `Node` [INFO] [stdout] --> src/lib.rs:317:35 [INFO] [stdout] | [INFO] [stdout] 317 | for i in 0..root_node.content.len()-1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `Node` [INFO] [stdout] --> src/lib.rs:321:39 [INFO] [stdout] | [INFO] [stdout] 321 | let tmp_id = tmp_node.id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_leaf` found for mutable reference `&mut RTree` in the current scope [INFO] [stdout] --> src/lib.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | while !self.is_leaf(&Node::from_block(&mut self.bfa.get(child_id[0]))){ [INFO] [stdout] | ^^^^^^^ method not found in `&mut RTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not an iterator [INFO] [stdout] --> src/lib.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 345 | for i in nodes_id.len()-1{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `usize` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `usize` [INFO] [stdout] = note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end` [INFO] [stdout] = note: required by `std::iter::IntoIterator::into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `content` on type `Node` [INFO] [stdout] --> src/lib.rs:354:34 [INFO] [stdout] | [INFO] [stdout] 354 | for i in 0..tmp_node.content.len()-1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `Node` [INFO] [stdout] --> src/lib.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | let tmp_id = tmp_node.id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn get(&mut self, &id:usize) -> Block{ [INFO] [stdout] | ^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected `usize`, found reference [INFO] [stdout] | help: did you mean `id`: `&usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[bool]` cannot be indexed by `&usize` [INFO] [stdout] --> src/lib.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | self.reserved_file[&id] = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[bool]>` is not implemented for `&usize` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index<&usize>` for `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[bool]` cannot be indexed by `&usize` [INFO] [stdout] --> src/lib.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | self.update_file[&id] =true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[bool]>` is not implemented for `&usize` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index<&usize>` for `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0412, E0423, E0425, E0532, E0574, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Foprak`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "592c7c0a489f678ae8192c97ab4a2df1eee42b8ddccafeddbfd85c096f8575f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592c7c0a489f678ae8192c97ab4a2df1eee42b8ddccafeddbfd85c096f8575f5", kill_on_drop: false }` [INFO] [stdout] 592c7c0a489f678ae8192c97ab4a2df1eee42b8ddccafeddbfd85c096f8575f5