[INFO] cloning repository https://github.com/elisvathi/rustracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elisvathi/rustracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felisvathi%2Frustracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felisvathi%2Frustracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f520beb544da0c775aae8a5dfd4364378d568da7 [INFO] checking elisvathi/rustracer against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felisvathi%2Frustracer" "/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/elisvathi/rustracer on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elisvathi/rustracer [INFO] finished tweaking git repo https://github.com/elisvathi/rustracer [INFO] tweaked toml for git repo https://github.com/elisvathi/rustracer written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/elisvathi/rustracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f1c375bf4e1f302596bccca5e55531ad405e7b2cec1c860fa3698bddbc14e2 [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" "e3f1c375bf4e1f302596bccca5e55531ad405e7b2cec1c860fa3698bddbc14e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f1c375bf4e1f302596bccca5e55531ad405e7b2cec1c860fa3698bddbc14e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f1c375bf4e1f302596bccca5e55531ad405e7b2cec1c860fa3698bddbc14e2", kill_on_drop: false }` [INFO] [stdout] e3f1c375bf4e1f302596bccca5e55531ad405e7b2cec1c860fa3698bddbc14e2 [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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c51059f377cff3ab6f7f90530c47b0686561ff6dd72dffb15cf9bf2cde1f5913 [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" "c51059f377cff3ab6f7f90530c47b0686561ff6dd72dffb15cf9bf2cde1f5913", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rustracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Hittable` [INFO] [stdout] --> src/threading/threadpool.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BoundingBoxNode, Hittable, Vec3}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hittable` [INFO] [stdout] --> src/threading/threadpool.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BoundingBoxNode, Hittable, Vec3}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be sent between threads safely [INFO] [stdout] --> src/threading/threadpool.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ^^^^^^^^^^^^^ `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `accelerator::accelerator::BoundingBoxNode`, the trait `std::marker::Send` is not implemented for `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option>` [INFO] [stdout] = note: required because it appears within the type `accelerator::accelerator::BoundingBoxNode` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Job` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Message` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::mpsc::Receiver` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Mutex>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc>>` [INFO] [stdout] = note: required because it appears within the type `[closure@src/threading/threadpool.rs:48:36: 59:10 receiver:std::sync::Arc>>, sender:std::sync::Arc>>]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be shared between threads safely [INFO] [stdout] --> src/threading/threadpool.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ^^^^^^^^^^^^^ `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `accelerator::accelerator::BoundingBoxNode`, the trait `std::marker::Sync` is not implemented for `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option>` [INFO] [stdout] = note: required because it appears within the type `accelerator::accelerator::BoundingBoxNode` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Job` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Message` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::mpsc::Receiver` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Mutex>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc>>` [INFO] [stdout] = note: required because it appears within the type `[closure@src/threading/threadpool.rs:48:36: 59:10 receiver:std::sync::Arc>>, sender:std::sync::Arc>>]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `std::ops::FnOnce<(std::sync::Arc,)>` closure, found `F` [INFO] [stdout] --> src/threading/threadpool.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | fun: Box::new(f), [INFO] [stdout] | ^^^^^^^^^^^ expected an `FnOnce<(std::sync::Arc,)>` closure, found `F` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `threading::threadpool::FnBox` for `F` [INFO] [stdout] = note: required for the cast to the object type `dyn threading::threadpool::FnBox + std::marker::Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | F: FnOnce(Rc) -> PixelData + Send + 'static + std::ops::FnOnce<(std::sync::Arc,)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be sent between threads safely [INFO] [stdout] --> src/threading/threadpool.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ^^^^^^^^^^^^^ `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `accelerator::accelerator::BoundingBoxNode`, the trait `std::marker::Send` is not implemented for `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option>` [INFO] [stdout] = note: required because it appears within the type `accelerator::accelerator::BoundingBoxNode` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Job` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Message` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::mpsc::Receiver` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Mutex>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc>>` [INFO] [stdout] = note: required because it appears within the type `[closure@src/threading/threadpool.rs:48:36: 59:10 receiver:std::sync::Arc>>, sender:std::sync::Arc>>]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be shared between threads safely [INFO] [stdout] --> src/threading/threadpool.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ^^^^^^^^^^^^^ `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `accelerator::accelerator::BoundingBoxNode`, the trait `std::marker::Sync` is not implemented for `std::rc::Rc<(dyn geometry::hitable::Hittable + 'static)>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option>` [INFO] [stdout] = note: required because it appears within the type `accelerator::accelerator::BoundingBoxNode` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Job` [INFO] [stdout] = note: required because it appears within the type `threading::threadpool::Message` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::mpsc::Receiver` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Mutex>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc>>` [INFO] [stdout] = note: required because it appears within the type `[closure@src/threading/threadpool.rs:48:36: 59:10 receiver:std::sync::Arc>>, sender:std::sync::Arc>>]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `std::ops::FnOnce<(std::sync::Arc,)>` closure, found `F` [INFO] [stdout] --> src/threading/threadpool.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | fun: Box::new(f), [INFO] [stdout] | ^^^^^^^^^^^ expected an `FnOnce<(std::sync::Arc,)>` closure, found `F` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `threading::threadpool::FnBox` for `F` [INFO] [stdout] = note: required for the cast to the object type `dyn threading::threadpool::FnBox + std::marker::Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | F: FnOnce(Rc) -> PixelData + Send + 'static + std::ops::FnOnce<(std::sync::Arc,)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustracer`. [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] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c51059f377cff3ab6f7f90530c47b0686561ff6dd72dffb15cf9bf2cde1f5913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51059f377cff3ab6f7f90530c47b0686561ff6dd72dffb15cf9bf2cde1f5913", kill_on_drop: false }` [INFO] [stdout] c51059f377cff3ab6f7f90530c47b0686561ff6dd72dffb15cf9bf2cde1f5913