[INFO] fetching crate expose 0.1.1...
[INFO] testing expose-0.1.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate expose 0.1.1 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate expose 0.1.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate expose 0.1.1
[INFO] finished tweaking crates.io crate expose 0.1.1
[INFO] tweaked toml for crates.io crate expose 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 47 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cbindgen v0.8.7 (latest: v0.26.0)
[INFO] [stderr]       Adding clap v2.34.0 (latest: v4.5.4)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding proc-macro2 v0.4.30 (latest: v1.0.83)
[INFO] [stderr]       Adding quote v0.6.13 (latest: v1.0.36)
[INFO] [stderr]       Adding strsim v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v0.15.44 (latest: v2.0.66)
[INFO] [stderr]       Adding textwrap v0.11.0 (latest: v0.16.1)
[INFO] [stderr]       Adding toml v0.4.10 (latest: v0.8.13)
[INFO] [stderr]       Adding unicode-xid v0.1.0 (latest: v0.2.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cbindgen v0.8.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c207b5009433ce9b3cb5ce688516d530478eedf844c4a9138cc249f007b08011
[INFO] running `Command { std: "docker" "start" "-a" "c207b5009433ce9b3cb5ce688516d530478eedf844c4a9138cc249f007b08011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c207b5009433ce9b3cb5ce688516d530478eedf844c4a9138cc249f007b08011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c207b5009433ce9b3cb5ce688516d530478eedf844c4a9138cc249f007b08011", kill_on_drop: false }`
[INFO] [stdout] c207b5009433ce9b3cb5ce688516d530478eedf844c4a9138cc249f007b08011
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2937698b88f7a5509dcfe531c0a949d8f3a861793199a22428f714031674e53c
[INFO] running `Command { std: "docker" "start" "-a" "2937698b88f7a5509dcfe531c0a949d8f3a861793199a22428f714031674e53c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling unicode-width v0.1.12
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling cbindgen v0.8.7
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling expose v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.31s
[INFO] running `Command { std: "docker" "inspect" "2937698b88f7a5509dcfe531c0a949d8f3a861793199a22428f714031674e53c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2937698b88f7a5509dcfe531c0a949d8f3a861793199a22428f714031674e53c", kill_on_drop: false }`
[INFO] [stdout] 2937698b88f7a5509dcfe531c0a949d8f3a861793199a22428f714031674e53c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2bfa262ffa188560e0a406cbe7cb81c1a5ab2cd4666c63dc2651b09e9866cc3
[INFO] running `Command { std: "docker" "start" "-a" "f2bfa262ffa188560e0a406cbe7cb81c1a5ab2cd4666c63dc2651b09e9866cc3", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling cbindgen v0.8.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling expose v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> tests/smoke.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn test_more_complex(x: i32, y: i32, z: String) -> String {
[INFO] [stdout]    |                                                 ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> tests/smoke.rs:11:60
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn test_more_complex(x: i32, y: i32, z: String) -> String {
[INFO] [stdout]    |                                                            ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 16.12s
[INFO] running `Command { std: "docker" "inspect" "f2bfa262ffa188560e0a406cbe7cb81c1a5ab2cd4666c63dc2651b09e9866cc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2bfa262ffa188560e0a406cbe7cb81c1a5ab2cd4666c63dc2651b09e9866cc3", kill_on_drop: false }`
[INFO] [stdout] f2bfa262ffa188560e0a406cbe7cb81c1a5ab2cd4666c63dc2651b09e9866cc3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 85e86948a2ba916ee2a1d0749c744d13b6791d347877f68aaf370303fa6f0d0e
[INFO] running `Command { std: "docker" "start" "-a" "85e86948a2ba916ee2a1d0749c744d13b6791d347877f68aaf370303fa6f0d0e", kill_on_drop: false }`
[INFO] [stderr] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stderr]   --> tests/smoke.rs:11:49
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub fn test_more_complex(x: i32, y: i32, z: String) -> String {
[INFO] [stderr]    |                                                 ^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stderr]    = note: this struct has unspecified layout
[INFO] [stderr]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stderr]   --> tests/smoke.rs:11:60
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub fn test_more_complex(x: i32, y: i32, z: String) -> String {
[INFO] [stderr]    |                                                            ^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stderr]    = note: this struct has unspecified layout
[INFO] [stderr] 
[INFO] [stderr] warning: `expose` (test "smoke") generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/expose-34e2096f21d0856a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/smoke.rs (/opt/rustwide/target/debug/deps/smoke-7744313175dff0e3)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test_expose_cpp::can_use_exposed_enum ... ok
[INFO] [stdout] test test_expose_cpp::can_call_more_complex_func ... ok
[INFO] [stdout] test test_expose_cpp::can_call_basic_func ... ok
[INFO] [stderr]    Doc-tests expose
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - enumeration (line 31) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - function (line 12) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - enumeration (line 31) stdout ----
[INFO] [stdout] error: custom attribute panicked
[INFO] [stdout]  --> src/lib.rs:33:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[expose::enumeration]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: Exposed member must be public
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - enumeration (line 31)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "85e86948a2ba916ee2a1d0749c744d13b6791d347877f68aaf370303fa6f0d0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85e86948a2ba916ee2a1d0749c744d13b6791d347877f68aaf370303fa6f0d0e", kill_on_drop: false }`
[INFO] [stdout] 85e86948a2ba916ee2a1d0749c744d13b6791d347877f68aaf370303fa6f0d0e
