[INFO] cloning repository https://github.com/benluelo/rust-dylib-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benluelo/rust-dylib-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenluelo%2Frust-dylib-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenluelo%2Frust-dylib-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb8aa650623d216617531fc708369734514a8aa2 [INFO] checking benluelo/rust-dylib-poc against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenluelo%2Frust-dylib-poc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/benluelo/rust-dylib-poc [INFO] finished tweaking git repo https://github.com/benluelo/rust-dylib-poc [INFO] tweaked toml for git repo https://github.com/benluelo/rust-dylib-poc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/benluelo/rust-dylib-poc on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/benluelo/rust-dylib-poc 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded async-ffi v0.5.0 [INFO] [stderr] Downloaded async-ffi-macros v0.5.0 [INFO] [stderr] Downloaded ctor v0.2.8 [INFO] [stderr] Downloaded cc v1.0.96 [INFO] [stderr] Downloaded rustls-webpki v0.102.3 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e05007e6bd1b995333400de0dc50c3cc5d11e6705bce24cf70fd84518e0f4017 [INFO] running `Command { std: "docker" "start" "-a" "e05007e6bd1b995333400de0dc50c3cc5d11e6705bce24cf70fd84518e0f4017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e05007e6bd1b995333400de0dc50c3cc5d11e6705bce24cf70fd84518e0f4017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05007e6bd1b995333400de0dc50c3cc5d11e6705bce24cf70fd84518e0f4017", kill_on_drop: false }` [INFO] [stdout] e05007e6bd1b995333400de0dc50c3cc5d11e6705bce24cf70fd84518e0f4017 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edf24b43312690be05770e14ae991644ef93fe7e6d6e60b22a76472edb580e1d [INFO] running `Command { std: "docker" "start" "-a" "edf24b43312690be05770e14ae991644ef93fe7e6d6e60b22a76472edb580e1d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-ffi-macros v0.5.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking async-ffi v0.5.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking dylib-testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking dylib v0.1.0 (/opt/rustwide/workdir/dylib) [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> dylib/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> dylib/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> dylib/src/lib.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub async extern "C" fn add(left: usize, right: usize) -> *mut c_char { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> dylib/src/lib.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub async extern "C" fn add(left: usize, right: usize) -> *mut c_char { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> dylib/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> dylib/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> dylib/src/lib.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub async extern "C" fn add(left: usize, right: usize) -> *mut c_char { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> dylib/src/lib.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub async extern "C" fn add(left: usize, right: usize) -> *mut c_char { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.71s [INFO] running `Command { std: "docker" "inspect" "edf24b43312690be05770e14ae991644ef93fe7e6d6e60b22a76472edb580e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf24b43312690be05770e14ae991644ef93fe7e6d6e60b22a76472edb580e1d", kill_on_drop: false }` [INFO] [stdout] edf24b43312690be05770e14ae991644ef93fe7e6d6e60b22a76472edb580e1d