[INFO] updating cached repository https://github.com/anderslanglands/optix-rs-pathtracer-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86c0fbb13707d491b33228f34524aedf6b170c9e [INFO] testing anderslanglands/optix-rs-pathtracer-example against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanderslanglands%2Foptix-rs-pathtracer-example" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anderslanglands/optix-rs-pathtracer-example on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anderslanglands/optix-rs-pathtracer-example [INFO] finished tweaking git repo https://github.com/anderslanglands/optix-rs-pathtracer-example [INFO] tweaked toml for git repo https://github.com/anderslanglands/optix-rs-pathtracer-example written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/anderslanglands/optix-rs-pathtracer-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` is now stable and is no longer necessary to be listed in the manifest [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fce4508089bb066b1af066d898f38e5e45e6f84ff1d2d33436bcdda1994fde11 [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" "fce4508089bb066b1af066d898f38e5e45e6f84ff1d2d33436bcdda1994fde11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fce4508089bb066b1af066d898f38e5e45e6f84ff1d2d33436bcdda1994fde11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce4508089bb066b1af066d898f38e5e45e6f84ff1d2d33436bcdda1994fde11", kill_on_drop: false }` [INFO] [stdout] fce4508089bb066b1af066d898f38e5e45e6f84ff1d2d33436bcdda1994fde11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--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] b162cd37f167285a0ce3769c05e6e7aea0cfaebd61ad1ea6ca88c2ac4c4bfaf7 [INFO] running `Command { std: "docker" "start" "-a" "b162cd37f167285a0ce3769c05e6e7aea0cfaebd61ad1ea6ca88c2ac4c4bfaf7", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` is now stable and is no longer necessary to be listed in the manifest [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rust-ini v0.12.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling bindgen v0.41.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling libm v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling cmake v0.1.35 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling semver v0.2.3 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling toml v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling approx v0.3.0 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling glfw-sys v3.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-epoch v0.6.0 [INFO] [stderr] Compiling alga v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling nalgebra v0.16.5 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling glfw v0.23.0 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling config v0.9.1 [INFO] [stderr] Compiling optix-pathtracer-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `optix-pathtracer-example v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/optix-pathtracer-example-22b2d7824b9d7dbe/build-script-build` (exit code: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at 'OPTIX_ROOT not found. You must set OPTIX_ROOT either as an environment variable, or in build-settings.toml to point to the root of your OptiX installation.', build.rs:23:10 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x560b2c6c6b75 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x560b2c6c6b75 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x560b2c6c6b75 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x560b2c6c6b75 - ::fmt::hb4bdb37c3c335733 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x560b2c6f0a9c - core::fmt::write::h540ac4a6a1232abc [INFO] [stderr] at src/libcore/fmt/mod.rs:1076 [INFO] [stderr] 5: 0x560b2c6c2d72 - std::io::Write::write_fmt::h5ffa1b5a7703af47 [INFO] [stderr] at src/libstd/io/mod.rs:1539 [INFO] [stderr] 6: 0x560b2c6c9650 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x560b2c6c9650 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x560b2c6c9650 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x560b2c6c939c - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stderr] at src/libstd/panicking.rs:217 [INFO] [stderr] 10: 0x560b2c6c9c93 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stderr] at src/libstd/panicking.rs:526 [INFO] [stderr] 11: 0x560b2c6c988b - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:437 [INFO] [stderr] 12: 0x560b2c6ef431 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stderr] at src/libcore/panicking.rs:85 [INFO] [stderr] 13: 0x560b2c6ef1c3 - core::option::expect_failed::hfc0519cb1ecb957f [INFO] [stderr] at src/libcore/option.rs:1261 [INFO] [stderr] 14: 0x560b2c4f6d61 - core::option::Option::expect::hee4cae84ba9353a5 [INFO] [stderr] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/option.rs:344 [INFO] [stderr] 15: 0x560b2c4f60c8 - build_script_build::main::hf6e7a3f2d7dbc1cd [INFO] [stderr] at /opt/rustwide/workdir/build.rs:21 [INFO] [stderr] 16: 0x560b2c4f7abb - std::rt::lang_start::{{closure}}::hbf9f09fff9dc1f6a [INFO] [stderr] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/rt.rs:67 [INFO] [stderr] 17: 0x560b2c6ca063 - std::rt::lang_start_internal::{{closure}}::h155f3093add35bce [INFO] [stderr] at src/libstd/rt.rs:52 [INFO] [stderr] 18: 0x560b2c6ca063 - std::panicking::try::do_call::h45f1f66ee6b987d6 [INFO] [stderr] at src/libstd/panicking.rs:348 [INFO] [stderr] 19: 0x560b2c6ca063 - std::panicking::try::h0924dfb942cef7e3 [INFO] [stderr] at src/libstd/panicking.rs:325 [INFO] [stderr] 20: 0x560b2c6ca063 - std::panic::catch_unwind::h883180846c5b53fa [INFO] [stderr] at src/libstd/panic.rs:394 [INFO] [stderr] 21: 0x560b2c6ca063 - std::rt::lang_start_internal::he9284d43a52786c5 [INFO] [stderr] at src/libstd/rt.rs:51 [INFO] [stderr] 22: 0x560b2c4f7a97 - std::rt::lang_start::hffc2e3a4960d01eb [INFO] [stderr] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/rt.rs:67 [INFO] [stderr] 23: 0x560b2c4f665a - main [INFO] [stderr] 24: 0x7f6acac4c0b3 - __libc_start_main [INFO] [stderr] 25: 0x560b2c4f519e - _start [INFO] [stderr] 26: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.16.5/src/base/cg.rs:292:44 [INFO] [stdout] | [INFO] [stdout] 292 | self[(j, i)] += shift[j] * self[(D::dim() - 1, i)]; [INFO] [stdout] | ---------------------------^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b162cd37f167285a0ce3769c05e6e7aea0cfaebd61ad1ea6ca88c2ac4c4bfaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b162cd37f167285a0ce3769c05e6e7aea0cfaebd61ad1ea6ca88c2ac4c4bfaf7", kill_on_drop: false }` [INFO] [stdout] b162cd37f167285a0ce3769c05e6e7aea0cfaebd61ad1ea6ca88c2ac4c4bfaf7