[INFO] cloning repository https://github.com/shouya/ray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shouya/ray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshouya%2Fray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshouya%2Fray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 078c4e29aad8b3bec8c1dc1244be98c6bb1ef4fe [INFO] checking shouya/ray against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshouya%2Fray" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shouya/ray on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shouya/ray [INFO] finished tweaking git repo https://github.com/shouya/ray [INFO] tweaked toml for git repo https://github.com/shouya/ray written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shouya/ray 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded random_color v0.4.4 [INFO] [stderr] Downloaded image v0.22.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b1beed3d1a15221358ad70fd5e758fde5e3cf74e18247fc155a5a0d404d70f9 [INFO] running `Command { std: "docker" "start" "-a" "6b1beed3d1a15221358ad70fd5e758fde5e3cf74e18247fc155a5a0d404d70f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b1beed3d1a15221358ad70fd5e758fde5e3cf74e18247fc155a5a0d404d70f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1beed3d1a15221358ad70fd5e758fde5e3cf74e18247fc155a5a0d404d70f9", kill_on_drop: false }` [INFO] [stdout] 6b1beed3d1a15221358ad70fd5e758fde5e3cf74e18247fc155a5a0d404d70f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac335559da7dceaafcc43453b082826255fc754b6b29566e9a457e2126143690 [INFO] running `Command { std: "docker" "start" "-a" "ac335559da7dceaafcc43453b082826255fc754b6b29566e9a457e2126143690", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking random_color v0.4.4 [INFO] [stderr] Checking image v0.22.4 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `(dyn object::Object + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ______---_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 23 | | let colors = AAPattern::pixel_offsets(&conf.aa, x, y) [INFO] [stdout] 24 | | .into_iter() [INFO] [stdout] 25 | | .map(|[x, y]| { [INFO] [stdout] ... | [INFO] [stdout] 33 | | (x, y, color) [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____^ `(dyn object::Object + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn object::Object + 'static)`, which is required by `{closure@src/tracer/modular.rs:22:10: 22:23}: Sync` [INFO] [stdout] = note: required for `Unique<(dyn object::Object + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn object::Object + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] = note: required for `Unique>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/raw_vec.rs:69:19 [INFO] [stdout] note: required because it appears within the type `Vec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/vec/mod.rs:398:12 [INFO] [stdout] note: required because it appears within the type `Scene` [INFO] [stdout] --> src/scene.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `rayon::iter::ParallelIterator::map` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rayon-1.3.0/src/iter/mod.rs:579:34 [INFO] [stdout] | [INFO] [stdout] 577 | fn map(self, map_op: F) -> Map [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 578 | where [INFO] [stdout] 579 | F: Fn(Self::Item) -> R + Sync + Send, [INFO] [stdout] | ^^^^ required by this bound in `ParallelIterator::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn object::Object + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ______---_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 23 | | let colors = AAPattern::pixel_offsets(&conf.aa, x, y) [INFO] [stdout] 24 | | .into_iter() [INFO] [stdout] 25 | | .map(|[x, y]| { [INFO] [stdout] ... | [INFO] [stdout] 33 | | (x, y, color) [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____^ `(dyn object::Object + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn object::Object + 'static)`, which is required by `{closure@src/tracer/modular.rs:22:10: 22:23}: Sync` [INFO] [stdout] = note: required for `Unique<(dyn object::Object + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn object::Object + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] = note: required for `Unique>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/raw_vec.rs:69:19 [INFO] [stdout] note: required because it appears within the type `Vec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/vec/mod.rs:398:12 [INFO] [stdout] note: required because it appears within the type `Scene` [INFO] [stdout] --> src/scene.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `rayon::iter::ParallelIterator::map` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rayon-1.3.0/src/iter/mod.rs:579:34 [INFO] [stdout] | [INFO] [stdout] 577 | fn map(self, map_op: F) -> Map [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 578 | where [INFO] [stdout] 579 | F: Fn(Self::Item) -> R + Sync + Send, [INFO] [stdout] | ^^^^ required by this bound in `ParallelIterator::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn object::Object + 'static)` cannot be sent between threads safely [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ______---_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 23 | | let colors = AAPattern::pixel_offsets(&conf.aa, x, y) [INFO] [stdout] 24 | | .into_iter() [INFO] [stdout] 25 | | .map(|[x, y]| { [INFO] [stdout] ... | [INFO] [stdout] 33 | | (x, y, color) [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____^ `(dyn object::Object + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn object::Object + 'static)`, which is required by `{closure@src/tracer/modular.rs:22:10: 22:23}: Send` [INFO] [stdout] = note: required for `Unique<(dyn object::Object + 'static)>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box<(dyn object::Object + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] = note: required for `Unique>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/raw_vec.rs:69:19 [INFO] [stdout] note: required because it appears within the type `Vec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/vec/mod.rs:398:12 [INFO] [stdout] note: required because it appears within the type `Scene` [INFO] [stdout] --> src/scene.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `rayon::iter::ParallelIterator::map` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rayon-1.3.0/src/iter/mod.rs:579:41 [INFO] [stdout] | [INFO] [stdout] 577 | fn map(self, map_op: F) -> Map [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 578 | where [INFO] [stdout] 579 | F: Fn(Self::Item) -> R + Sync + Send, [INFO] [stdout] | ^^^^ required by this bound in `ParallelIterator::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn object::Object + 'static)` cannot be sent between threads safely [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ______---_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 23 | | let colors = AAPattern::pixel_offsets(&conf.aa, x, y) [INFO] [stdout] 24 | | .into_iter() [INFO] [stdout] 25 | | .map(|[x, y]| { [INFO] [stdout] ... | [INFO] [stdout] 33 | | (x, y, color) [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_____^ `(dyn object::Object + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn object::Object + 'static)`, which is required by `{closure@src/tracer/modular.rs:22:10: 22:23}: Send` [INFO] [stdout] = note: required for `Unique<(dyn object::Object + 'static)>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box<(dyn object::Object + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] = note: required for `Unique>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/raw_vec.rs:69:19 [INFO] [stdout] note: required because it appears within the type `Vec>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/vec/mod.rs:398:12 [INFO] [stdout] note: required because it appears within the type `Scene` [INFO] [stdout] --> src/scene.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/tracer/modular.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(move |(x, y)| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `rayon::iter::ParallelIterator::map` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rayon-1.3.0/src/iter/mod.rs:579:41 [INFO] [stdout] | [INFO] [stdout] 577 | fn map(self, map_op: F) -> Map [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 578 | where [INFO] [stdout] 579 | F: Fn(Self::Item) -> R + Sync + Send, [INFO] [stdout] | ^^^^ required by this bound in `ParallelIterator::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray` (bin "ray" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ray` (bin "ray") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ac335559da7dceaafcc43453b082826255fc754b6b29566e9a457e2126143690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac335559da7dceaafcc43453b082826255fc754b6b29566e9a457e2126143690", kill_on_drop: false }` [INFO] [stdout] ac335559da7dceaafcc43453b082826255fc754b6b29566e9a457e2126143690