[INFO] fetching crate ray-rs-sys 0.0.0...
[INFO] checking ray-rs-sys-0.0.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate ray-rs-sys 0.0.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate ray-rs-sys 0.0.0 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ray-rs-sys 0.0.0
[INFO] finished tweaking crates.io crate ray-rs-sys 0.0.0
[INFO] tweaked toml for crates.io crate ray-rs-sys 0.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 53 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.53.3 (available: v0.70.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b497091378d4b75757a0448e5718be62ae1cb1e07dfe23667685b210badf11d
[INFO] running `Command { std: "docker" "start" "-a" "2b497091378d4b75757a0448e5718be62ae1cb1e07dfe23667685b210badf11d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b497091378d4b75757a0448e5718be62ae1cb1e07dfe23667685b210badf11d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b497091378d4b75757a0448e5718be62ae1cb1e07dfe23667685b210badf11d", kill_on_drop: false }`
[INFO] [stdout] 2b497091378d4b75757a0448e5718be62ae1cb1e07dfe23667685b210badf11d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2feb2fb82121172aa08d0dff7b1886b780e5179337db250fa5d37a5ebb41277c
[INFO] running `Command { std: "docker" "start" "-a" "2feb2fb82121172aa08d0dff7b1886b780e5179337db250fa5d37a5ebb41277c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling ray-rs-sys v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `bazel`
[INFO] [stdout]  --> src/lib.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[cfg(not(feature = "bazel"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `bazel` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `bazel`
[INFO] [stdout]  --> src/lib.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(feature = "bazel")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `bazel` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::dv_as_slice`
[INFO] [stdout]   --> src/lib.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use super::dv_as_slice;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get` in this scope
[INFO] [stdout]    --> src/lib.rs:268:36
[INFO] [stdout]     |
[INFO] [stdout] 268 |             assert_eq!(dv_as_slice(get(c_str_id, -1)), &data_vec);
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::internal::get` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn get(id: CString, timeout: i32) -> DataValue {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `bazel`
[INFO] [stdout]  --> src/lib.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[cfg(not(feature = "bazel"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `bazel` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `bazel`
[INFO] [stdout]  --> src/lib.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(feature = "bazel")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `bazel` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::dv_as_slice`
[INFO] [stdout]   --> src/lib.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use super::dv_as_slice;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let mut code_search_path = CString::new("").unwrap();
[INFO] [stdout]    |                 ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let mut head_args = CString::new("").unwrap();
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meta_vec`
[INFO] [stdout]    --> src/lib.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |             let mut meta_vec = vec![0u8];
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_vec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |             let mut meta_vec = vec![0u8];
[INFO] [stdout]     |                 ----^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let mut data = vec![id.as_ptr()];
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let mut d_value: Vec<*mut DataValue> = vec![std::ptr::null_mut() as *mut _];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LaunchConfig` is never constructed
[INFO] [stdout]   --> src/lib.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct LaunchConfig {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `BufferDestructor` is never used
[INFO] [stdout]    --> src/lib.rs:275:6
[INFO] [stdout]     |
[INFO] [stdout] 275 | type BufferDestructor = extern "C" fn(*mut u8, u64);
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/lib.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |                 c_worker_AllocateDataValue(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `*mut u8`, found `*mut c_void`
[INFO] [stdout]    --> src/lib.rs:236:21
[INFO] [stdout]     |
[INFO] [stdout] 236 |                     data_vec.as_mut_ptr() as *mut c_void,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected raw pointer `*mut u8`
[INFO] [stdout]                found raw pointer `*mut std::ffi::c_void`
[INFO] [stdout] note: expected `*mut u8`, found `*mut c_void`
[INFO] [stdout]    --> src/lib.rs:238:21
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     meta_vec.as_mut_ptr() as *mut c_void,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected raw pointer `*mut u8`
[INFO] [stdout]                found raw pointer `*mut std::ffi::c_void`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/ray-rs-sys-431ec046f346ada9/out/ray_rs_sys_bindgen.rs:3:13146
[INFO] [stdout]     |
[INFO] [stdout] 3   | ... :: std :: os :: raw :: c_int ; } extern "C" { pub fn c_worker_AllocateDataValue (data_ptr : * mut u8 , data_size : size_t , meta_ptr ...
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let mut code_search_path = CString::new("").unwrap();
[INFO] [stdout]    |                 ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let mut head_args = CString::new("").unwrap();
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meta_vec`
[INFO] [stdout]    --> src/lib.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |             let mut meta_vec = vec![0u8];
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_vec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |             let mut meta_vec = vec![0u8];
[INFO] [stdout]     |                 ----^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let mut data = vec![id.as_ptr()];
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let mut d_value: Vec<*mut DataValue> = vec![std::ptr::null_mut() as *mut _];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ray-rs-sys` (lib test) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2feb2fb82121172aa08d0dff7b1886b780e5179337db250fa5d37a5ebb41277c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2feb2fb82121172aa08d0dff7b1886b780e5179337db250fa5d37a5ebb41277c", kill_on_drop: false }`
[INFO] [stdout] 2feb2fb82121172aa08d0dff7b1886b780e5179337db250fa5d37a5ebb41277c
