[INFO] cloning repository https://github.com/heathcliff233/NJUpbr2021-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heathcliff233/NJUpbr2021-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheathcliff233%2FNJUpbr2021-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheathcliff233%2FNJUpbr2021-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4930d11b3d2b2041297b651104a5936d78e9efca [INFO] checking heathcliff233/NJUpbr2021-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheathcliff233%2FNJUpbr2021-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heathcliff233/NJUpbr2021-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/heathcliff233/NJUpbr2021-rust [INFO] finished tweaking git repo https://github.com/heathcliff233/NJUpbr2021-rust [INFO] tweaked toml for git repo https://github.com/heathcliff233/NJUpbr2021-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/heathcliff233/NJUpbr2021-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] [stderr] Downloaded peg v0.6.3 [INFO] [stderr] Downloaded skeptic v0.13.6 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded ply-rs v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3998e95867de3ead8da3233ee009dc8f2802d7ff52dc732faef7cb5ac021a7c6 [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" "3998e95867de3ead8da3233ee009dc8f2802d7ff52dc732faef7cb5ac021a7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3998e95867de3ead8da3233ee009dc8f2802d7ff52dc732faef7cb5ac021a7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3998e95867de3ead8da3233ee009dc8f2802d7ff52dc732faef7cb5ac021a7c6", kill_on_drop: false }` [INFO] [stdout] 3998e95867de3ead8da3233ee009dc8f2802d7ff52dc732faef7cb5ac021a7c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 51b20bc9e8a7325d332c49e103712b2a9202d307cdda7278155be78f3f446440 [INFO] running `Command { std: "docker" "start" "-a" "51b20bc9e8a7325d332c49e103712b2a9202d307cdda7278155be78f3f446440", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling ply-rs v0.1.3 [INFO] [stderr] Checking rayt v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `pdf_value` is not a member of trait `Hittable` [INFO] [stdout] --> src/sphere.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / fn pdf_value(&self, origin: Point3, direction: Point3, time: f64) -> f64 { [INFO] [stdout] 71 | | let mut rec = HitRecord::new(Material::new_lambertian(Point3::zero())); [INFO] [stdout] 72 | | if !self.hit(&Ray::new(origin, direction, time), 0.001, INFINITY, &mut rec) { [INFO] [stdout] 73 | | 0.0 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ not a member of trait `Hittable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dot`, `random_double`, `random_in_unit_sphere`, `random_unit_vector`, `reflect`, `refract`, `unit_vector` [INFO] [stdout] --> src/texture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | random_double, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | perlin::*, [INFO] [stdout] 4 | vec3::{Vec3, dot, random_in_unit_sphere, random_unit_vector, reflect, refract, unit_vector, Color}, [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `pdf_value` is not a member of trait `Hittable` [INFO] [stdout] --> src/sphere.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / fn pdf_value(&self, origin: Point3, direction: Point3, time: f64) -> f64 { [INFO] [stdout] 71 | | let mut rec = HitRecord::new(Material::new_lambertian(Point3::zero())); [INFO] [stdout] 72 | | if !self.hit(&Ray::new(origin, direction, time), 0.001, INFINITY, &mut rec) { [INFO] [stdout] 73 | | 0.0 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ not a member of trait `Hittable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dot`, `random_double`, `random_in_unit_sphere`, `random_unit_vector`, `reflect`, `refract`, `unit_vector` [INFO] [stdout] --> src/texture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | random_double, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | perlin::*, [INFO] [stdout] 4 | vec3::{Vec3, dot, random_in_unit_sphere, random_unit_vector, reflect, refract, unit_vector, Color}, [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/sphere.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | let cos_theta_max = (1 - self.radius * self.radius / (origin - self.center).length_squared()).sqrt(); [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Sub` is not implemented for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/texture.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | data: image::open(&Path::new(dir)).unwrap().to_rgb(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/sphere.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | let cos_theta_max = (1 - self.radius * self.radius / (origin - self.center).length_squared()).sqrt(); [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Sub` is not implemented for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `vec3::Vec3` in the current scope [INFO] [stdout] --> src/onb.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let w = (normal).normalize(); [INFO] [stdout] | ^^^^^^^^^ method not found in `vec3::Vec3` [INFO] [stdout] | [INFO] [stdout] ::: src/vec3.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vec3 { [INFO] [stdout] | --------------- method `normalize` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/texture.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | data: image::open(&Path::new(dir)).unwrap().to_rgb(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0407, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayt` due to 4 previous errors; 2 warnings emitted [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `vec3::Vec3` in the current scope [INFO] [stdout] --> src/onb.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let w = (normal).normalize(); [INFO] [stdout] | ^^^^^^^^^ method not found in `vec3::Vec3` [INFO] [stdout] | [INFO] [stdout] ::: src/vec3.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vec3 { [INFO] [stdout] | --------------- method `normalize` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0407, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "51b20bc9e8a7325d332c49e103712b2a9202d307cdda7278155be78f3f446440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51b20bc9e8a7325d332c49e103712b2a9202d307cdda7278155be78f3f446440", kill_on_drop: false }` [INFO] [stdout] 51b20bc9e8a7325d332c49e103712b2a9202d307cdda7278155be78f3f446440