[INFO] fetching crate catboost-sys 0.1.6... [INFO] testing catboost-sys-0.1.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate catboost-sys 0.1.6 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate catboost-sys 0.1.6 [INFO] finished tweaking crates.io crate catboost-sys 0.1.6 [INFO] tweaked toml for crates.io crate catboost-sys 0.1.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate catboost-sys 0.1.6 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.72.1) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61208b764a8226335cab323ca89ecb7683c2f82140dd10bbc128538891b5caa2 [INFO] running `Command { std: "docker" "start" "-a" "61208b764a8226335cab323ca89ecb7683c2f82140dd10bbc128538891b5caa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61208b764a8226335cab323ca89ecb7683c2f82140dd10bbc128538891b5caa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61208b764a8226335cab323ca89ecb7683c2f82140dd10bbc128538891b5caa2", kill_on_drop: false }` [INFO] [stdout] 61208b764a8226335cab323ca89ecb7683c2f82140dd10bbc128538891b5caa2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a28c803b4719dcef5cf5e2dc65fec589da6014864f828a4028fafb434eca5a1e [INFO] running `Command { std: "docker" "start" "-a" "a28c803b4719dcef5cf5e2dc65fec589da6014864f828a4028fafb434eca5a1e", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling catboost-sys v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.99s [INFO] running `Command { std: "docker" "inspect" "a28c803b4719dcef5cf5e2dc65fec589da6014864f828a4028fafb434eca5a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28c803b4719dcef5cf5e2dc65fec589da6014864f828a4028fafb434eca5a1e", kill_on_drop: false }` [INFO] [stdout] a28c803b4719dcef5cf5e2dc65fec589da6014864f828a4028fafb434eca5a1e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96efa6481a6a5239daf27476f6553dcd77d11acd4463498f0150d52f78a4547a [INFO] running `Command { std: "docker" "start" "-a" "96efa6481a6a5239daf27476f6553dcd77d11acd4463498f0150d52f78a4547a", kill_on_drop: false }` [INFO] [stderr] Compiling catboost-sys v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/catboost-sys-20cc469c61cff37a/out/bindings.rs:3:856 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , con... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/catboost-sys-20cc469c61cff37a/out/bindings.rs:3:1102 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | panic!(str_slice); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 24 | panic!("{}", str_slice); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(str_slice); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", str_slice); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcyIsxKz/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lstdc++" "-lcatboostmodel" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,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" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcyIsxKz/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/catboost_sys-99132da5d62d87b2" "-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: rust-lld: error: unable to find library -lcatboostmodel [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `catboost-sys` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96efa6481a6a5239daf27476f6553dcd77d11acd4463498f0150d52f78a4547a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96efa6481a6a5239daf27476f6553dcd77d11acd4463498f0150d52f78a4547a", kill_on_drop: false }` [INFO] [stdout] 96efa6481a6a5239daf27476f6553dcd77d11acd4463498f0150d52f78a4547a