[INFO] fetching crate niexpctrl_backend 0.1.0... [INFO] building niexpctrl_backend-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate niexpctrl_backend 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate niexpctrl_backend 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.3.2 [INFO] [stderr] Downloaded pyo3-macros v0.19.2 [INFO] [stderr] Downloaded inventory v0.3.11 [INFO] [stderr] Downloaded unindent v0.1.11 [INFO] [stderr] Downloaded crossbeam-queue v0.3.8 [INFO] [stderr] Downloaded target-lexicon v0.12.11 [INFO] [stderr] Downloaded crossbeam v0.8.2 [INFO] [stderr] Downloaded pyo3-build-config v0.19.2 [INFO] [stderr] Downloaded nicompiler_backend v0.3.0 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded pyo3-ffi v0.19.2 [INFO] [stderr] Downloaded memchr v2.6.0 [INFO] [stderr] Downloaded numpy v0.19.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.19.2 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded regex v1.9.4 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded pyo3 v0.19.2 [INFO] [stderr] Downloaded regex-automata v0.3.7 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42a418a951b86f6a1297da33cd20d5260dc5dd37e84a71874b903df17a227847 [INFO] running `Command { std: "docker" "start" "-a" "42a418a951b86f6a1297da33cd20d5260dc5dd37e84a71874b903df17a227847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42a418a951b86f6a1297da33cd20d5260dc5dd37e84a71874b903df17a227847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a418a951b86f6a1297da33cd20d5260dc5dd37e84a71874b903df17a227847", kill_on_drop: false }` [INFO] [stdout] 42a418a951b86f6a1297da33cd20d5260dc5dd37e84a71874b903df17a227847 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a4403ae4cc8cd2fe29b7caa8a998e9e286357df4e0de1cc0858fe4a4f5c9b0a [INFO] running `Command { std: "docker" "start" "-a" "7a4403ae4cc8cd2fe29b7caa8a998e9e286357df4e0de1cc0858fe4a4f5c9b0a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling once_cell v1.18.0 [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] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling memchr v2.6.0 [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] Compiling quote v1.0.33 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling inventory v0.3.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling nicompiler_backend v0.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Compiling numpy v0.19.0 [INFO] [stderr] Compiling 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcImens0/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcImens0/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lNIDAQmx" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librayon-66c4d4bb41d3a7a5,librayon_core-f9ef9cb970eeef2d,libnum_cpus-7869c6cccb9f42d0,libcrossbeam_deque-18c008b4ac0e3773,libcrossbeam_epoch-7ad3b7205416d0a1,libcrossbeam_channel-84888ed7c08dbe6e,libcrossbeam_utils-e5d524b630b73f58,libeither-229e626b51c6e8a7,libnicompiler_backend-904cf223f05ddf83,libmaplit-019dc3e6fa39a754,libnumpy-c2c6a96cff5e8d5f,librustc_hash-5a527483989b35a3,libregex-529d001f5b33cc09,libregex_automata-a2756d2ec089384a,libaho_corasick-614e3ea5da4f6090,libmemchr-95a692b97f5194e5,libregex_syntax-c75f63bf10bc1d3f,libndarray-db1befbaec6909b0,libmatrixmultiply-64b7a26acbdb4e4f,libnum_complex-0c2d39b68b0d6392,libnum_integer-8fdb5dc568544fc2,libnum_traits-2e272a9345fc3c9f,librawpointer-a726d041f28ef5ec,libpyo3-bc856964b6fdb2ec,libmemoffset-aa2d871e1be44209,libparking_lot-2524bdfbb9061af2,libparking_lot_core-5fabd21df16f5f56,libcfg_if-33ef6c02a07f9fec,libsmallvec-0bfe092e24c04786,liblock_api-2f04c774448cb277,libscopeguard-d52bd00767847e44,libpyo3_ffi-941f2dfcfb5be5d0,liblibc-20a69e023a5b0045,libinventory-3727a8f7d3bb2c1f,libunindent-cc76a737251e1cb2}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lpython3.12" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcImens0/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libniexpctrl_backend.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lNIDAQmx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `niexpctrl_backend` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7a4403ae4cc8cd2fe29b7caa8a998e9e286357df4e0de1cc0858fe4a4f5c9b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4403ae4cc8cd2fe29b7caa8a998e9e286357df4e0de1cc0858fe4a4f5c9b0a", kill_on_drop: false }` [INFO] [stdout] 7a4403ae4cc8cd2fe29b7caa8a998e9e286357df4e0de1cc0858fe4a4f5c9b0a