[INFO] fetching crate spatialize 0.1.0... [INFO] testing spatialize-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate spatialize 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate spatialize 0.1.0 [INFO] finished tweaking crates.io crate spatialize 0.1.0 [INFO] tweaked toml for crates.io crate spatialize 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spatialize 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbb178dcdd9e14de952f584f0fdc9016475425818e027bbb4faef775060ef127 [INFO] running `Command { std: "docker" "start" "-a" "dbb178dcdd9e14de952f584f0fdc9016475425818e027bbb4faef775060ef127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbb178dcdd9e14de952f584f0fdc9016475425818e027bbb4faef775060ef127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb178dcdd9e14de952f584f0fdc9016475425818e027bbb4faef775060ef127", kill_on_drop: false }` [INFO] [stdout] dbb178dcdd9e14de952f584f0fdc9016475425818e027bbb4faef775060ef127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 862ec421e2b81b7110232c621303e8837c48f2b508c5c2c588c756f84e4afdfc [INFO] running `Command { std: "docker" "start" "-a" "862ec421e2b81b7110232c621303e8837c48f2b508c5c2c588c756f84e4afdfc", kill_on_drop: false }` [INFO] [stderr] Compiling spatialize v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "862ec421e2b81b7110232c621303e8837c48f2b508c5c2c588c756f84e4afdfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862ec421e2b81b7110232c621303e8837c48f2b508c5c2c588c756f84e4afdfc", kill_on_drop: false }` [INFO] [stdout] 862ec421e2b81b7110232c621303e8837c48f2b508c5c2c588c756f84e4afdfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db787225df9f018852d45a21a804a3573bb8e2ebf7542728a02f5af44c74ada0 [INFO] running `Command { std: "docker" "start" "-a" "db787225df9f018852d45a21a804a3573bb8e2ebf7542728a02f5af44c74ada0", kill_on_drop: false }` [INFO] [stderr] Compiling spatialize v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "db787225df9f018852d45a21a804a3573bb8e2ebf7542728a02f5af44c74ada0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db787225df9f018852d45a21a804a3573bb8e2ebf7542728a02f5af44c74ada0", kill_on_drop: false }` [INFO] [stdout] db787225df9f018852d45a21a804a3573bb8e2ebf7542728a02f5af44c74ada0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d145f9040b1517c137020d459e511041f1b9635131e6fa5224be2cb18e7460a6 [INFO] running `Command { std: "docker" "start" "-a" "d145f9040b1517c137020d459e511041f1b9635131e6fa5224be2cb18e7460a6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spatialize-4922d9a9a3a79b90) [INFO] [stdout] [INFO] [stderr] Doc-tests spatialize [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/quadtree.rs - quadtree::Sized (line 27) ... FAILED [INFO] [stdout] test src/quadtree.rs - quadtree::Quadtree::new (line 65) ... FAILED [INFO] [stdout] test src/quadtree.rs - quadtree::Quadtree::insert (line 121) ... FAILED [INFO] [stdout] test src/quadtree.rs - quadtree::Quadtree::get_rect (line 173) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/quadtree.rs - quadtree::Sized (line 27) stdout ---- [INFO] [stdout] error[E0407]: method `north_edge` is not a member of trait `Sized` [INFO] [stdout] --> src/quadtree.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 11 | / fn north_edge(&self) -> f32 { [INFO] [stdout] 12 | | self.position_y [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ not a member of trait `Sized` [INFO] [stdout] [INFO] [stdout] error[E0407]: method `east_edge` is not a member of trait `Sized` [INFO] [stdout] --> src/quadtree.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn east_edge(&self) -> f32 { [INFO] [stdout] 16 | | self.position_x + self.width [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ not a member of trait `Sized` [INFO] [stdout] [INFO] [stdout] error[E0407]: method `south_edge` is not a member of trait `Sized` [INFO] [stdout] --> src/quadtree.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 19 | / fn south_edge(&self) -> f32 { [INFO] [stdout] 20 | | self.position_y - self.height [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ not a member of trait `Sized` [INFO] [stdout] [INFO] [stdout] error[E0407]: method `west_edge` is not a member of trait `Sized` [INFO] [stdout] --> src/quadtree.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn west_edge(&self) -> f32 { [INFO] [stdout] 24 | | self.position_x [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ not a member of trait `Sized` [INFO] [stdout] [INFO] [stdout] error[E0322]: explicit impls for the `Sized` trait are not permitted [INFO] [stdout] --> src/quadtree.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 10 | impl Sized for Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0322, E0407. [INFO] [stdout] For more information about an error, try `rustc --explain E0322`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/quadtree.rs - quadtree::Quadtree::new (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quadtree` [INFO] [stdout] --> src/quadtree.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 7 | let qt = Quadtree::new(position_x, position_y, width, height); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Quadtree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use spatialize::quadtree::Quadtree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/quadtree.rs - quadtree::Quadtree::insert (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quadtree` [INFO] [stdout] --> src/quadtree.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut qt = Quadtree::new(-10.0, 10.0, 20.0, 20.0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Quadtree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use spatialize::quadtree::Quadtree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/quadtree.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 4 | let sized_object: Rc = Rc::new(Rectangle::new(0.0, 0.0, 5.0, 5.0)); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/quadtree.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 4 | let sized_object: Rc = Rc::new(Rectangle::new(0.0, 0.0, 5.0, 5.0)); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/quadtree.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 5 | match qt.insert(Rc::clone(&sized_object)) { [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/quadtree.rs:123:43 [INFO] [stdout] | [INFO] [stdout] 4 | let sized_object: Rc = Rc::new(Rectangle::new(0.0, 0.0, 5.0, 5.0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/quadtree.rs - quadtree::Quadtree::get_rect (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quadtree` [INFO] [stdout] --> src/quadtree.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut qt = Quadtree::new(-10.0, 10.0, 20.0, 20.0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Quadtree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use spatialize::quadtree::Quadtree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/quadtree.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 4 | let sized_object: Rc = Rc::new(Rectangle::new(0.0, 0.0, 5.0, 5.0)); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/quadtree.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 4 | let sized_object: Rc = Rc::new(Rectangle::new(0.0, 0.0, 5.0, 5.0)); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/quadtree.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 5 | match qt.insert(Rc::clone(&sized_object)) { [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/quadtree.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 7 | let rect_view: Rc = Rc::new(Rectangle::new(-2, 2, 10.0, 10.0)); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/quadtree.rs:178:40 [INFO] [stdout] | [INFO] [stdout] 7 | let rect_view: Rc = Rc::new(Rectangle::new(-2, 2, 10.0, 10.0)); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/quadtree.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 8 | let mut result_vec: Vec> = vec![]; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/quadtree.rs:175:43 [INFO] [stdout] | [INFO] [stdout] 4 | let sized_object: Rc = Rc::new(Rectangle::new(0.0, 0.0, 5.0, 5.0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/quadtree.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 7 | let rect_view: Rc = Rc::new(Rectangle::new(-2, 2, 10.0, 10.0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/quadtree.rs - quadtree::Quadtree::get_rect (line 173) [INFO] [stdout] src/quadtree.rs - quadtree::Quadtree::insert (line 121) [INFO] [stdout] src/quadtree.rs - quadtree::Quadtree::new (line 65) [INFO] [stdout] src/quadtree.rs - quadtree::Sized (line 27) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d145f9040b1517c137020d459e511041f1b9635131e6fa5224be2cb18e7460a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d145f9040b1517c137020d459e511041f1b9635131e6fa5224be2cb18e7460a6", kill_on_drop: false }` [INFO] [stdout] d145f9040b1517c137020d459e511041f1b9635131e6fa5224be2cb18e7460a6