[INFO] cloning repository https://github.com/snltd/intrd-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snltd/intrd-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnltd%2Fintrd-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnltd%2Fintrd-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 892d50bfb78d8cd5e385c13d6f9bc2b4d54fd08e [INFO] testing snltd/intrd-rs against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnltd%2Fintrd-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/snltd/intrd-rs [INFO] finished tweaking git repo https://github.com/snltd/intrd-rs [INFO] tweaked toml for git repo https://github.com/snltd/intrd-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/snltd/intrd-rs on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/snltd/intrd-rs 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 779dcc32a1b977c9f1b322c4f2d9ae0c4ecfaa680a9f863d4742da6beee83238 [INFO] running `Command { std: "docker" "start" "-a" "779dcc32a1b977c9f1b322c4f2d9ae0c4ecfaa680a9f863d4742da6beee83238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "779dcc32a1b977c9f1b322c4f2d9ae0c4ecfaa680a9f863d4742da6beee83238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "779dcc32a1b977c9f1b322c4f2d9ae0c4ecfaa680a9f863d4742da6beee83238", kill_on_drop: false }` [INFO] [stdout] 779dcc32a1b977c9f1b322c4f2d9ae0c4ecfaa680a9f863d4742da6beee83238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c274eb7bf5505dbaa895f626582910244b56ac83576aabaf321bf82c94a94a1 [INFO] running `Command { std: "docker" "start" "-a" "7c274eb7bf5505dbaa895f626582910244b56ac83576aabaf321bf82c94a94a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling kstat-rs v0.2.4 [INFO] [stderr] Compiling intrd-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Kstat` and `NamedType` [INFO] [stdout] --> src/main.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use kstat_rs::{Ctl, Data, Kstat, Named, NamedData, NamedType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorChoice`, `Config`, `LevelFilter`, `TermLogger`, and `TerminalMode` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use simplelog::{ColorChoice, Config, LevelFilter, TermLogger, TerminalMode}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_time` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let cpu_time: u64 = numeric_value_map(&val) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_crtime` [INFO] [stdout] --> src/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let cpu_crtime = vals.get("crtime").context("could not get crtime"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_crtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_apic` [INFO] [stdout] --> src/main.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | fn getstat(ctl: &Ctl, is_apic: bool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_apic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut this_cpu = cpu_sys [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/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut pci_intrs: Vec<_> = ctl.filter(Some("pci_intrs"), None, None).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | let stats = getstat(&ctl, true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | let stats = getstat(&ctl, is_apic); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut sleep_time = NORMAL_SLEEP_TIME; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Delta` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Delta = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Deltas` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type Deltas = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeltasTotalTime` is never used [INFO] [stdout] --> src/main.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | type DeltasTotalTime = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Ivecs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 24 | // ->{} iterates over pci_intrs:::cookie [INFO] [stdout] 25 | time: u64, // pci_intrs:::time (in nsec) [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pil: u64, // pci_intrs:::pil [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | crtime: u64, // pci_intrs:::crtime [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | ino: u64, // pci_intrs:::ino [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | num_ino: u64, // num inos of single device instance sharing this entry. Will be > 1 on pcplusmp X86 systems for devices with multiple... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | buspath: String, // pci_intrs:::buspath [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | name: String, // pci_intrs:::name [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | ihs: u64, // pci_intrs:::ihs [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tot`, `crtime`, and `ivecs` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct CpuStat { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | tot: u64, // cpu::sys:cpu_nsec_{user + kernel + idle} [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | crtime: u64, // cpu::sys:crtime [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | ivecs: Ivecs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `snaptime` and `cpus` are never read [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct GotStat { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 42 | snaptime: u64, // kstat's snaptime [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | cpus: HashMap, // one hash reference per online cpu [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_delta` is never used [INFO] [stdout] --> src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn generate_delta() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_deltas` is never used [INFO] [stdout] --> src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn compress_deltas() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dumpdelta` is never used [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn dumpdelta() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goodness` is never used [INFO] [stdout] --> src/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn goodness() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imbalanced` is never used [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn imbalanced() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig` is never used [INFO] [stdout] --> src/main.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn do_reconfig() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goodness_cpu` is never used [INFO] [stdout] --> src/main.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn goodness_cpu() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_intr` is never used [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn move_intr() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ivecs_to_string` is never used [INFO] [stdout] --> src/main.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn ivecs_to_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_find_goal` is never used [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn do_find_goal() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_goal` is never used [INFO] [stdout] --> src/main.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn find_goal() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig_cpu2cpu` is never used [INFO] [stdout] --> src/main.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn do_reconfig_cpu2cpu() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig_cpu` is never used [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn do_reconfig_cpu() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcGD27wx/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsignal_hook-df2e735cba899a9f.rlib,libsignal_hook_registry-1df3a3f156af5af8.rlib,libanyhow-86336943e25b38f2.rlib,libsimplelog-edb9510e1e0d8574.rlib,libtime-b396b91179e6ed8d.rlib,libnum_threads-c1a0ff78db7a07a9.rlib,libitoa-6b76ec393d6a2c41.rlib,libtime_core-45a5f0d549950b2a.rlib,libnum_conv-2c976fbf8b8f2899.rlib,libderanged-3ca21461b8e5f612.rlib,libpowerfmt-a0c185df26c26a22.rlib,libtermcolor-96a9ed65821a6544.rlib,liblog-8df7809bc4bc4dee.rlib,libkstat_rs-dd47a9c2c9f4dd9c.rlib,liblibc-348bb14b111b37ff.rlib,libthiserror-fc990af05353b40c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcGD27wx/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/intrd_rs-2b1aefdea32d45f3" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `intrd-rs` (bin "intrd-rs") due to 1 previous error; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7c274eb7bf5505dbaa895f626582910244b56ac83576aabaf321bf82c94a94a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c274eb7bf5505dbaa895f626582910244b56ac83576aabaf321bf82c94a94a1", kill_on_drop: false }` [INFO] [stdout] 7c274eb7bf5505dbaa895f626582910244b56ac83576aabaf321bf82c94a94a1