[INFO] fetching crate niexpctrl_backend 0.1.0... [INFO] checking niexpctrl_backend-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate niexpctrl_backend 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate niexpctrl_backend 0.1.0 [INFO] finished tweaking crates.io crate niexpctrl_backend 0.1.0 [INFO] tweaked toml for crates.io crate niexpctrl_backend 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate niexpctrl_backend 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate niexpctrl_backend 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.3.11 [INFO] [stderr] Downloaded nicompiler_backend v0.3.0 [INFO] [stderr] Downloaded numpy v0.19.0 [INFO] [stderr] Downloaded memchr v2.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3764e38240498bd2d9afd46179ee6321a791a82fae025a078b1dfe98952675a [INFO] running `Command { std: "docker" "start" "-a" "f3764e38240498bd2d9afd46179ee6321a791a82fae025a078b1dfe98952675a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3764e38240498bd2d9afd46179ee6321a791a82fae025a078b1dfe98952675a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3764e38240498bd2d9afd46179ee6321a791a82fae025a078b1dfe98952675a", kill_on_drop: false }` [INFO] [stdout] f3764e38240498bd2d9afd46179ee6321a791a82fae025a078b1dfe98952675a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2809ce518d0ab0a7ca4331628a2933091bacf92ea1c727d07b6bcebae6e6732 [INFO] running `Command { std: "docker" "start" "-a" "a2809ce518d0ab0a7ca4331628a2933091bacf92ea1c727d07b6bcebae6e6732", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking memchr v2.6.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking inventory v0.3.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling nicompiler_backend v0.3.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking numpy v0.19.0 [INFO] [stderr] Checking niexpctrl_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/experiment.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 162 | impl Experiment { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/experiment.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 162 | impl Experiment { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAQMX_VAL_GROUPBYCHANNEL` is never used [INFO] [stdout] --> src/nidaqmx.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const DAQMX_VAL_GROUPBYCHANNEL: CBool32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAQMX_VAL_CHANPERLINE` is never used [INFO] [stdout] --> src/nidaqmx.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub const DAQMX_VAL_CHANPERLINE: CInt32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_digital_lines`, `get_write_current_write_pos`, and `get_write_total_samp_per_chan_generated` are never used [INFO] [stdout] --> src/nidaqmx.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl NiTask { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn write_digital_lines(&self, signal_arr: &Array2) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn get_write_current_write_pos(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_write_total_samp_per_chan_generated(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DAQmxWriteDigitalLines` is never used [INFO] [stdout] --> src/nidaqmx.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn DAQmxWriteDigitalLines( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DAQmxGetWriteCurrWritePos` is never used [INFO] [stdout] --> src/nidaqmx.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn DAQmxGetWriteCurrWritePos(handle: TaskHandle, data: *mut CUint64) -> CInt32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DAQmxGetWriteTotalSampPerChanGenerated` is never used [INFO] [stdout] --> src/nidaqmx.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn DAQmxGetWriteTotalSampPerChanGenerated(handle: TaskHandle, data: *mut CUint64) -> CInt32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/experiment.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 162 | impl Experiment { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAQMX_VAL_GROUPBYCHANNEL` is never used [INFO] [stdout] --> src/nidaqmx.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const DAQMX_VAL_GROUPBYCHANNEL: CBool32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAQMX_VAL_CHANPERLINE` is never used [INFO] [stdout] --> src/nidaqmx.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub const DAQMX_VAL_CHANPERLINE: CInt32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_digital_lines`, `get_write_current_write_pos`, and `get_write_total_samp_per_chan_generated` are never used [INFO] [stdout] --> src/nidaqmx.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl NiTask { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn write_digital_lines(&self, signal_arr: &Array2) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn get_write_current_write_pos(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_write_total_samp_per_chan_generated(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DAQmxWriteDigitalLines` is never used [INFO] [stdout] --> src/nidaqmx.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn DAQmxWriteDigitalLines( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DAQmxGetWriteCurrWritePos` is never used [INFO] [stdout] --> src/nidaqmx.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn DAQmxGetWriteCurrWritePos(handle: TaskHandle, data: *mut CUint64) -> CInt32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DAQmxGetWriteTotalSampPerChanGenerated` is never used [INFO] [stdout] --> src/nidaqmx.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn DAQmxGetWriteTotalSampPerChanGenerated(handle: TaskHandle, data: *mut CUint64) -> CInt32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/experiment.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 162 | impl Experiment { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | `Experiment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.32s [INFO] running `Command { std: "docker" "inspect" "a2809ce518d0ab0a7ca4331628a2933091bacf92ea1c727d07b6bcebae6e6732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2809ce518d0ab0a7ca4331628a2933091bacf92ea1c727d07b6bcebae6e6732", kill_on_drop: false }` [INFO] [stdout] a2809ce518d0ab0a7ca4331628a2933091bacf92ea1c727d07b6bcebae6e6732