[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#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenluelo%2Frust-dylib-poc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/benluelo/rust-dylib-poc on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-ffi v0.5.0 [INFO] [stderr] Downloaded async-ffi-macros v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1068ce1b3c83f68200ad6b97afc483027fc1fb5de7d9e343d9dcc3dbec9930b1 [INFO] running `Command { std: "docker" "start" "-a" "1068ce1b3c83f68200ad6b97afc483027fc1fb5de7d9e343d9dcc3dbec9930b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1068ce1b3c83f68200ad6b97afc483027fc1fb5de7d9e343d9dcc3dbec9930b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1068ce1b3c83f68200ad6b97afc483027fc1fb5de7d9e343d9dcc3dbec9930b1", kill_on_drop: false }` [INFO] [stdout] 1068ce1b3c83f68200ad6b97afc483027fc1fb5de7d9e343d9dcc3dbec9930b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec8dd7d02dea3968c2c93c2bdc89646273c37bba854205000c9d38ed56c29a50 [INFO] running `Command { std: "docker" "start" "-a" "ec8dd7d02dea3968c2c93c2bdc89646273c37bba854205000c9d38ed56c29a50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.3 [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 async-ffi v0.5.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [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: 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)]` 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: 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)]` 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 26.94s [INFO] running `Command { std: "docker" "inspect" "ec8dd7d02dea3968c2c93c2bdc89646273c37bba854205000c9d38ed56c29a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8dd7d02dea3968c2c93c2bdc89646273c37bba854205000c9d38ed56c29a50", kill_on_drop: false }` [INFO] [stdout] ec8dd7d02dea3968c2c93c2bdc89646273c37bba854205000c9d38ed56c29a50