[INFO] cloning repository https://github.com/smolcert/smolcert-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smolcert/smolcert-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolcert%2Fsmolcert-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolcert%2Fsmolcert-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2a0ab7280800f5859969556fc945a6843423df2 [INFO] building smolcert/smolcert-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolcert%2Fsmolcert-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/smolcert/smolcert-rust [INFO] finished tweaking git repo https://github.com/smolcert/smolcert-rust [INFO] tweaked toml for git repo https://github.com/smolcert/smolcert-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smolcert/smolcert-rust on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smolcert/smolcert-rust 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 236456932c5d8a3b3f6e5dd8e6b1a8f8e5d81745d0b50bfab0bdc9f27b2d19cc [INFO] running `Command { std: "docker" "start" "-a" "236456932c5d8a3b3f6e5dd8e6b1a8f8e5d81745d0b50bfab0bdc9f27b2d19cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "236456932c5d8a3b3f6e5dd8e6b1a8f8e5d81745d0b50bfab0bdc9f27b2d19cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236456932c5d8a3b3f6e5dd8e6b1a8f8e5d81745d0b50bfab0bdc9f27b2d19cc", kill_on_drop: false }` [INFO] [stdout] 236456932c5d8a3b3f6e5dd8e6b1a8f8e5d81745d0b50bfab0bdc9f27b2d19cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 1a126d65185eeec2b5afb3dda7a6adcf30f3b6c2fdf24dd126945947fbac2fe0 [INFO] running `Command { std: "docker" "start" "-a" "1a126d65185eeec2b5afb3dda7a6adcf30f3b6c2fdf24dd126945947fbac2fe0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling half v1.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling smolcert v0.1.0 (/opt/rustwide/workdir/smolcert-lib) [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> smolcert-lib/src/errors.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub(crate) code: ErrorCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smlcrt v0.1.0 (/opt/rustwide/workdir/smlcrt) [INFO] [stdout] warning: unused variable: `client_cert` [INFO] [stdout] --> smlcrt/src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let client_cert = matches.is_present("client"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_cert` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_cert` [INFO] [stdout] --> smlcrt/src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let server_cert = matches.is_present("server"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> smlcrt/src/errors.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | pub(crate) code: ErrorCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> smlcrt/src/errors.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | IO(IoError), [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - IO(IoError), [INFO] [stdout] 14 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> smlcrt/src/errors.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Generic(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Generic(String), [INFO] [stdout] 15 + Generic(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> smlcrt/src/errors.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | ParseInt(ParseIntError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - ParseInt(ParseIntError), [INFO] [stdout] 17 + ParseInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> smlcrt/src/errors.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | TimeParse(ParseError), [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - TimeParse(ParseError), [INFO] [stdout] 18 + TimeParse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> smlcrt/src/errors.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | CertError(SmolcertError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - CertError(SmolcertError), [INFO] [stdout] 19 + CertError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smlcrt` (bin "smlcrt") due to 1 previous error; 8 warnings emitted [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<4 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libsmolcert-ca88cedac9b88a7a,libserde_cbor-1099c39d1ca96f0d,libhalf-2ded4a9d95f0e593,libed25519_dalek-4000949b1b4f2c5a,libsha2-793a37d89e57c86a,libopaque_debug-c49481a206caa42f,libfake_simd-ca4b4de3dd52aa09,libblock_buffer-10bd285d0cdefce3,libblock_padding-91dfda1310f3089d,libbyte_tools-2d99e388891527ef,libserde-678d202473563f1b,librand-a6e303a152f9ad4b,librand_chacha-d72a5a5a6366e2d4,libc2_chacha-d37d081697af83c2,libppv_lite86-3493475e77f61984,libcurve25519_dalek-556d3343d2c96f1b,libsubtle-bb4d402dab922079,libzeroize-526a5ce98d97deb9,librand_core-6cdf6ded3854ef3b,libgetrandom-5e37e26c5bf6ed86,libwasi-203864a9547604ca,libcfg_if-c52cb2c48f08318d,libdigest-6e78109e0785c239,libgeneric_array-6feaa478a670dfad,libtypenum-97af3467da89acf5,libbyteorder-3f92cf96e66f158e,libclear_on_drop-33952daa77fdd5ae,libchrono-146f430dfef3a5d6,libnum_integer-1e79b6b6d5e78643,libnum_traits-9e3d3902f3e174b1,libtime-b34d6b13cfe715b3,libclap-23396e6080ddc0b9,libvec_map-35db6a21e4c898cc,libtextwrap-5ad0562977b0b78e,libunicode_width-2859b1f7609dcb27,libstrsim-77da817db1277a2f,libbitflags-05377f64c37263ee,libatty-3242e974e54baef7,libansi_term-6c0151593fd7624b}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/clear_on_drop-67a06c5691ea96b7/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/smlcrt-6a0cb9b15cb27844.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libclear_on_drop-33952daa77fdd5ae.rlib: archive member 'hide.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libed25519_dalek-4000949b1b4f2c5a.rlib(ed25519_dalek-4000949b1b4f2c5a.ed25519_dalek.12588e46503c30eb-cgu.0.rcgu.o): undefined symbol: clear_on_drop_hide [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libed25519_dalek-4000949b1b4f2c5a.rlib(ed25519_dalek-4000949b1b4f2c5a.ed25519_dalek.12588e46503c30eb-cgu.0.rcgu.o): undefined symbol: clear_on_drop_hide [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a126d65185eeec2b5afb3dda7a6adcf30f3b6c2fdf24dd126945947fbac2fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a126d65185eeec2b5afb3dda7a6adcf30f3b6c2fdf24dd126945947fbac2fe0", kill_on_drop: false }` [INFO] [stdout] 1a126d65185eeec2b5afb3dda7a6adcf30f3b6c2fdf24dd126945947fbac2fe0