[INFO] fetching crate freebsd-libgeom 0.3.1... [INFO] testing freebsd-libgeom-0.3.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate freebsd-libgeom 0.3.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate freebsd-libgeom 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate freebsd-libgeom 0.3.1 [INFO] tweaked toml for crates.io crate freebsd-libgeom 0.3.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate freebsd-libgeom 0.3.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate freebsd-libgeom 0.3.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98e611798f7b3de385de714cf1030a89450ca9267599e6773a84feac5d2031a5 [INFO] running `Command { std: "docker" "start" "-a" "98e611798f7b3de385de714cf1030a89450ca9267599e6773a84feac5d2031a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98e611798f7b3de385de714cf1030a89450ca9267599e6773a84feac5d2031a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e611798f7b3de385de714cf1030a89450ca9267599e6773a84feac5d2031a5", kill_on_drop: false }` [INFO] [stdout] 98e611798f7b3de385de714cf1030a89450ca9267599e6773a84feac5d2031a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb01e6bd0ef35052d8d7822a8e614c2e504f1dad9a25be75c1bf4936bf8123ed [INFO] running `Command { std: "docker" "start" "-a" "eb01e6bd0ef35052d8d7822a8e614c2e504f1dad9a25be75c1bf4936bf8123ed", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling freebsd-libgeom-sys v0.1.7 [INFO] [stderr] Compiling freebsd-libgeom v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0530]: function parameters cannot shadow tuple structs [INFO] [stdout] --> src/lib.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 21 | use freebsd_libgeom_sys::*; [INFO] [stdout] | ---------------------- the tuple struct `devstat` is imported here [INFO] [stdout] ... [INFO] [stdout] 233 | NonNull::new(praw).map(|devstat| Devstat { [INFO] [stdout] | ^^^^^^^ cannot be named the same as a tuple struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0530]: function parameters cannot shadow tuple structs [INFO] [stdout] --> src/lib.rs:241:33 [INFO] [stdout] | [INFO] [stdout] 21 | use freebsd_libgeom_sys::*; [INFO] [stdout] | ---------------------- the tuple struct `devstat` is imported here [INFO] [stdout] ... [INFO] [stdout] 241 | NonNull::new(craw).map(|devstat| { [INFO] [stdout] | ^^^^^^^ cannot be named the same as a tuple struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0530]: function parameters cannot shadow tuple structs [INFO] [stdout] --> src/lib.rs:326:32 [INFO] [stdout] | [INFO] [stdout] 21 | use freebsd_libgeom_sys::*; [INFO] [stdout] | ---------------------- the tuple struct `devstat` is imported here [INFO] [stdout] ... [INFO] [stdout] 326 | NonNull::new(raw).map(|devstat| Devstat { [INFO] [stdout] | ^^^^^^^ cannot be named the same as a tuple struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gident_ISCONSUMER` in this scope [INFO] [stdout] --> src/lib.rs:167:51 [INFO] [stdout] | [INFO] [stdout] 167 | unsafe { self.ident.as_ref() }.lg_what == gident_ISCONSUMER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gident_ISPROVIDER` in this scope [INFO] [stdout] --> src/lib.rs:171:51 [INFO] [stdout] | [INFO] [stdout] 171 | unsafe { self.ident.as_ref() }.lg_what == gident_ISPROVIDER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `gprovider` in this scope [INFO] [stdout] --> src/lib.rs:179:70 [INFO] [stdout] | [INFO] [stdout] 179 | let gprovider = self.ident.as_ref().lg_ptr as *const gprovider; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `gprovider` in this scope [INFO] [stdout] --> src/lib.rs:192:70 [INFO] [stdout] | [INFO] [stdout] 192 | let gprovider = self.ident.as_ref().lg_ptr as *const gprovider; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_READ` in this scope [INFO] [stdout] --> src/lib.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | devstat_trans_flags_DEVSTAT_READ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | devstat_trans_flags_DEVSTAT_WRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_NO_DATA` in this scope [INFO] [stdout] --> src/lib.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | devstat_trans_flags_DEVSTAT_NO_DATA [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_FREE` in this scope [INFO] [stdout] --> src/lib.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | devstat_trans_flags_DEVSTAT_FREE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_FREE` in this scope [INFO] [stdout] --> src/lib.rs:490:46 [INFO] [stdout] | [INFO] [stdout] 490 | delta!(current, previous, bytes, devstat_trans_flags_DEVSTAT_FREE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_READ` in this scope [INFO] [stdout] --> src/lib.rs:492:46 [INFO] [stdout] | [INFO] [stdout] 492 | delta!(current, previous, bytes, devstat_trans_flags_DEVSTAT_READ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:494:46 [INFO] [stdout] | [INFO] [stdout] 494 | delta!(current, previous, bytes, devstat_trans_flags_DEVSTAT_WRITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let old: bintime = if let Some(prev) = $prev { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 509 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 510 | | [devstat_trans_flags_DEVSTAT_FREE as usize]); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_FREE` in this scope [INFO] [stdout] --> src/lib.rs:510:18 [INFO] [stdout] | [INFO] [stdout] 510 | [devstat_trans_flags_DEVSTAT_FREE as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | bintime { sec: 0, frac: 0 } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 509 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 510 | | [devstat_trans_flags_DEVSTAT_FREE as usize]); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let new: bintime = $bintime(unsafe { $cur.devstat.as_ref() }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 509 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 510 | | [devstat_trans_flags_DEVSTAT_FREE as usize]); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let old: bintime = if let Some(prev) = $prev { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 512 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 513 | | [devstat_trans_flags_DEVSTAT_READ as usize]); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_READ` in this scope [INFO] [stdout] --> src/lib.rs:513:18 [INFO] [stdout] | [INFO] [stdout] 513 | [devstat_trans_flags_DEVSTAT_READ as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | bintime { sec: 0, frac: 0 } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 512 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 513 | | [devstat_trans_flags_DEVSTAT_READ as usize]); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let new: bintime = $bintime(unsafe { $cur.devstat.as_ref() }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 512 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 513 | | [devstat_trans_flags_DEVSTAT_READ as usize]); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let old: bintime = if let Some(prev) = $prev { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 515 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 516 | | [devstat_trans_flags_DEVSTAT_WRITE as usize]); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | [devstat_trans_flags_DEVSTAT_WRITE as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | bintime { sec: 0, frac: 0 } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 515 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 516 | | [devstat_trans_flags_DEVSTAT_WRITE as usize]); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let new: bintime = $bintime(unsafe { $cur.devstat.as_ref() }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 515 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 516 | | [devstat_trans_flags_DEVSTAT_WRITE as usize]); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let old: bintime = if let Some(prev) = $prev { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 518 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 519 | | [devstat_trans_flags_DEVSTAT_NO_DATA as usize]); [INFO] [stdout] | |_______________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `devstat_trans_flags_DEVSTAT_NO_DATA` in this scope [INFO] [stdout] --> src/lib.rs:519:18 [INFO] [stdout] | [INFO] [stdout] 519 | [devstat_trans_flags_DEVSTAT_NO_DATA as usize]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | bintime { sec: 0, frac: 0 } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 518 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 519 | | [devstat_trans_flags_DEVSTAT_NO_DATA as usize]); [INFO] [stdout] | |_______________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let new: bintime = $bintime(unsafe { $cur.devstat.as_ref() }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 518 | / delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] 519 | | [devstat_trans_flags_DEVSTAT_NO_DATA as usize]); [INFO] [stdout] | |_______________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let old: bintime = if let Some(prev) = $prev { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 559 | delta_t!(self.current, &self.previous, |ds: &devstat| ds.busy_time); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | bintime { sec: 0, frac: 0 } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 559 | delta_t!(self.current, &self.previous, |ds: &devstat| ds.busy_time); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `bintime` in this scope [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let new: bintime = $bintime(unsafe { $cur.devstat.as_ref() }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 559 | delta_t!(self.current, &self.previous, |ds: &devstat| ds.busy_time); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `delta_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_open` in this scope [INFO] [stdout] --> src/lib.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | let r = unsafe { geom_stats_open() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `id` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | id: unsafe { self.devstat.as_ref() }.id, [INFO] [stdout] | ^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lg_what` on type `&freebsd_libgeom_sys::gident` [INFO] [stdout] --> src/lib.rs:167:40 [INFO] [stdout] | [INFO] [stdout] 167 | unsafe { self.ident.as_ref() }.lg_what == gident_ISCONSUMER [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lg_what` on type `&freebsd_libgeom_sys::gident` [INFO] [stdout] --> src/lib.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | unsafe { self.ident.as_ref() }.lg_what == gident_ISPROVIDER [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lg_ptr` on type `&freebsd_libgeom_sys::gident` [INFO] [stdout] --> src/lib.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | let gprovider = self.ident.as_ref().lg_ptr as *const gprovider; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lg_ptr` on type `&freebsd_libgeom_sys::gident` [INFO] [stdout] --> src/lib.rs:192:53 [INFO] [stdout] | [INFO] [stdout] 192 | let gprovider = self.ident.as_ref().lg_ptr as *const gprovider; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_snapshot_next` in this scope [INFO] [stdout] --> src/lib.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let praw = unsafe { geom_stats_snapshot_next(prev.0.as_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_snapshot_next` in this scope [INFO] [stdout] --> src/lib.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | let craw = unsafe { geom_stats_snapshot_next(self.cur.0.as_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_snapshot_get` in this scope [INFO] [stdout] --> src/lib.rs:288:28 [INFO] [stdout] | [INFO] [stdout] 288 | let raw = unsafe { geom_stats_snapshot_get() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_snapshot_reset` in this scope [INFO] [stdout] --> src/lib.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | unsafe { geom_stats_snapshot_reset(self.0.as_mut()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_snapshot_timestamp` in this scope [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | geom_stats_snapshot_timestamp(self.0.as_mut(), ts.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_snapshot_free` in this scope [INFO] [stdout] --> src/lib.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe { geom_stats_snapshot_free(self.0.as_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_stats_snapshot_next` in this scope [INFO] [stdout] --> src/lib.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | let raw = unsafe { geom_stats_snapshot_next(self.0 .0.as_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `operations` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { prev.devstat.as_ref() }.$field[idx] [INFO] [stdout] | ------ due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 463 | operations, [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `operations` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { prev.devstat.as_ref() }.$field[idx] [INFO] [stdout] | ------ due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 469 | operations, [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `operations` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { prev.devstat.as_ref() }.$field[idx] [INFO] [stdout] | ------ due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 475 | operations, [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `operations` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:481:13 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { prev.devstat.as_ref() }.$field[idx] [INFO] [stdout] | ------ due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 481 | operations, [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bytes` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:490:39 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { prev.devstat.as_ref() }.$field[idx] [INFO] [stdout] | ------ due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 490 | delta!(current, previous, bytes, devstat_trans_flags_DEVSTAT_FREE); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bytes` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:492:39 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { prev.devstat.as_ref() }.$field[idx] [INFO] [stdout] | ------ due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 492 | delta!(current, previous, bytes, devstat_trans_flags_DEVSTAT_READ); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bytes` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:494:39 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { prev.devstat.as_ref() }.$field[idx] [INFO] [stdout] | ------ due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 494 | delta!(current, previous, bytes, devstat_trans_flags_DEVSTAT_WRITE); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `block_size` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:498:40 [INFO] [stdout] | [INFO] [stdout] 498 | let block_denominator = if cur.block_size > 0 { [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `block_size` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 499 | cur.block_size as u64 [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `duration` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:509:59 [INFO] [stdout] | [INFO] [stdout] 509 | delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `duration` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:512:59 [INFO] [stdout] | [INFO] [stdout] 512 | delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `duration` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:515:59 [INFO] [stdout] | [INFO] [stdout] 515 | delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `duration` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:518:59 [INFO] [stdout] | [INFO] [stdout] 518 | delta_t!(current, previous, |ds: &devstat| ds.duration [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `busy_time` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | bt.busy_time.sec as f64 + bt.busy_time.frac as f64 * BINTIME_SCALE [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `busy_time` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:552:38 [INFO] [stdout] | [INFO] [stdout] 552 | bt.busy_time.sec as f64 + bt.busy_time.frac as f64 * BINTIME_SCALE [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `busy_time` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:559:70 [INFO] [stdout] | [INFO] [stdout] 559 | delta_t!(self.current, &self.previous, |ds: &devstat| ds.busy_time); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `start_count` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:567:13 [INFO] [stdout] | [INFO] [stdout] 567 | cur.start_count - cur.end_count [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `end_count` on type `&freebsd_libgeom_sys::devstat` [INFO] [stdout] --> src/lib.rs:567:31 [INFO] [stdout] | [INFO] [stdout] 567 | cur.start_count - cur.end_count [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `timespec` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:575:21 [INFO] [stdout] | [INFO] [stdout] 573 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 574 | // The wrapper is necessary just to be proper CamelCase [INFO] [stdout] 575 | pub struct Timespec(freebsd_libgeom_sys::timespec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `timespec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tv_sec` on type `timespec` [INFO] [stdout] --> src/lib.rs:579:14 [INFO] [stdout] | [INFO] [stdout] 579 | ts.0.tv_sec as f64 + ts.0.tv_nsec as f64 * 1e-9 [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tv_nsec` on type `timespec` [INFO] [stdout] --> src/lib.rs:579:35 [INFO] [stdout] | [INFO] [stdout] 579 | ts.0.tv_sec as f64 + ts.0.tv_nsec as f64 * 1e-9 [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tv_sec` on type `timespec` [INFO] [stdout] --> src/lib.rs:587:33 [INFO] [stdout] | [INFO] [stdout] 587 | let mut tv_sec = self.0.tv_sec - rhs.0.tv_sec; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tv_sec` on type `timespec` [INFO] [stdout] --> src/lib.rs:587:48 [INFO] [stdout] | [INFO] [stdout] 587 | let mut tv_sec = self.0.tv_sec - rhs.0.tv_sec; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tv_nsec` on type `timespec` [INFO] [stdout] --> src/lib.rs:588:34 [INFO] [stdout] | [INFO] [stdout] 588 | let mut tv_nsec = self.0.tv_nsec - rhs.0.tv_nsec; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tv_nsec` on type `timespec` [INFO] [stdout] --> src/lib.rs:588:50 [INFO] [stdout] | [INFO] [stdout] 588 | let mut tv_nsec = self.0.tv_nsec - rhs.0.tv_nsec; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `timespec` has no field named `tv_sec` [INFO] [stdout] --> src/lib.rs:593:46 [INFO] [stdout] | [INFO] [stdout] 593 | Self(freebsd_libgeom_sys::timespec { tv_sec, tv_nsec }) [INFO] [stdout] | ^^^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/freebsd-libgeom-sys-0.1.7/src/fakes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct timespec(i32); [INFO] [stdout] | -------- `timespec` defined here [INFO] [stdout] | [INFO] [stdout] help: `timespec` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 593 - Self(freebsd_libgeom_sys::timespec { tv_sec, tv_nsec }) [INFO] [stdout] 593 + Self(timespec(/* i32 */)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `timespec` has no field named `tv_nsec` [INFO] [stdout] --> src/lib.rs:593:54 [INFO] [stdout] | [INFO] [stdout] 593 | Self(freebsd_libgeom_sys::timespec { tv_sec, tv_nsec }) [INFO] [stdout] | ^^^^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/freebsd-libgeom-sys-0.1.7/src/fakes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct timespec(i32); [INFO] [stdout] | -------- `timespec` defined here [INFO] [stdout] | [INFO] [stdout] help: `timespec` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 593 - Self(freebsd_libgeom_sys::timespec { tv_sec, tv_nsec }) [INFO] [stdout] 593 + Self(timespec(/* i32 */)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `freebsd_libgeom_sys::gmesh` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:600:17 [INFO] [stdout] | [INFO] [stdout] 598 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 599 | #[repr(transparent)] [INFO] [stdout] 600 | pub struct Tree(Pin>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `freebsd_libgeom_sys::gmesh` [INFO] [stdout] | [INFO] [stdout] help: the trait `Debug` is implemented for `Pin` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/pin.rs:1785:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_lookupid` in this scope [INFO] [stdout] --> src/lib.rs:605:28 [INFO] [stdout] | [INFO] [stdout] 605 | let raw = unsafe { geom_lookupid(&mut *self.0, id.id) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_gettree` in this scope [INFO] [stdout] --> src/lib.rs:616:21 [INFO] [stdout] | [INFO] [stdout] 616 | let r = geom_gettree(&mut *inner); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geom_deletetree` in this scope [INFO] [stdout] --> src/lib.rs:629:18 [INFO] [stdout] | [INFO] [stdout] 629 | unsafe { geom_deletetree(&mut *self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425, E0530, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `freebsd-libgeom` (lib) due to 77 previous errors [INFO] running `Command { std: "docker" "inspect" "eb01e6bd0ef35052d8d7822a8e614c2e504f1dad9a25be75c1bf4936bf8123ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb01e6bd0ef35052d8d7822a8e614c2e504f1dad9a25be75c1bf4936bf8123ed", kill_on_drop: false }` [INFO] [stdout] eb01e6bd0ef35052d8d7822a8e614c2e504f1dad9a25be75c1bf4936bf8123ed