[INFO] cloning repository https://github.com/mds5000/libsmi-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mds5000/libsmi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmds5000%2Flibsmi-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmds5000%2Flibsmi-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d35054774a8f3bc79fd6cb261a6a83f3c8e05ad4
[INFO] testing mds5000/libsmi-rs against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmds5000%2Flibsmi-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mds5000/libsmi-rs
[INFO] finished tweaking git repo https://github.com/mds5000/libsmi-rs
[INFO] tweaked toml for git repo https://github.com/mds5000/libsmi-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mds5000/libsmi-rs on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mds5000/libsmi-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcd85db01b9310ded0d0b5f3732963be4fa2f4d3094eee4f875dad5effcaea97
[INFO] running `Command { std: "docker" "start" "-a" "dcd85db01b9310ded0d0b5f3732963be4fa2f4d3094eee4f875dad5effcaea97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcd85db01b9310ded0d0b5f3732963be4fa2f4d3094eee4f875dad5effcaea97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcd85db01b9310ded0d0b5f3732963be4fa2f4d3094eee4f875dad5effcaea97", kill_on_drop: false }`
[INFO] [stdout] dcd85db01b9310ded0d0b5f3732963be4fa2f4d3094eee4f875dad5effcaea97
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1563d6fe3fb6f2ca6a433c15fbd3eb9383e570bacbbdbb55d5cfd9a1e14c653e
[INFO] running `Command { std: "docker" "start" "-a" "1563d6fe3fb6f2ca6a433c15fbd3eb9383e570bacbbdbb55d5cfd9a1e14c653e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling libsmi-sys v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> src/node.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub unsafe fn named_numbers(self) -> Map<i32, String> {
[INFO] [stdout]    |                                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Min` in this scope
[INFO] [stdout]   --> src/node.rs:73:35
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub unsafe fn range(self) -> (Min, Max) {
[INFO] [stdout]    |                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Max` in this scope
[INFO] [stdout]   --> src/node.rs:73:40
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub unsafe fn range(self) -> (Min, Max) {
[INFO] [stdout]    |                                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RenderFlags` and `SmiNodeKind`
[INFO] [stdout]  --> src/context.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{SmiNode, SmiNodeKind, RenderFlags};
[INFO] [stdout]   |                      ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_derive::FromPrimitive`
[INFO] [stdout]  --> src/context.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_derive::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::FromPrimitive`
[INFO] [stdout]  --> src/context.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/context.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/context.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice`
[INFO] [stdout]   --> src/context.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::slice;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CString`
[INFO] [stdout]  --> src/node.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/node.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/node.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libsmi-sys` (lib) due to 3 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1563d6fe3fb6f2ca6a433c15fbd3eb9383e570bacbbdbb55d5cfd9a1e14c653e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1563d6fe3fb6f2ca6a433c15fbd3eb9383e570bacbbdbb55d5cfd9a1e14c653e", kill_on_drop: false }`
[INFO] [stdout] 1563d6fe3fb6f2ca6a433c15fbd3eb9383e570bacbbdbb55d5cfd9a1e14c653e
