[INFO] cloning repository https://github.com/PocketOfWeird/b2d2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PocketOfWeird/b2d2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPocketOfWeird%2Fb2d2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPocketOfWeird%2Fb2d2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc731c7a09c6063e0ec56303ca04a8ee7b4b6ea4 [INFO] building PocketOfWeird/b2d2 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPocketOfWeird%2Fb2d2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PocketOfWeird/b2d2 [INFO] finished tweaking git repo https://github.com/PocketOfWeird/b2d2 [INFO] tweaked toml for git repo https://github.com/PocketOfWeird/b2d2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PocketOfWeird/b2d2 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/PocketOfWeird/b2d2 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bea0457c2614422c83b199a12a42b848d8f5c078bb6031aa0c8687d9df18ec73 [INFO] running `Command { std: "docker" "start" "-a" "bea0457c2614422c83b199a12a42b848d8f5c078bb6031aa0c8687d9df18ec73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bea0457c2614422c83b199a12a42b848d8f5c078bb6031aa0c8687d9df18ec73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bea0457c2614422c83b199a12a42b848d8f5c078bb6031aa0c8687d9df18ec73", kill_on_drop: false }` [INFO] [stdout] bea0457c2614422c83b199a12a42b848d8f5c078bb6031aa0c8687d9df18ec73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 947c43fe41cbdf0d2991e4f73c03cc88f7d50ef5dd697283b1cbfed882ac4956 [INFO] running `Command { std: "docker" "start" "-a" "947c43fe41cbdf0d2991e4f73c03cc88f7d50ef5dd697283b1cbfed882ac4956", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling tinyfiledialogs v3.3.9 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling pom v3.1.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling lopdf v0.24.0 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling b2d2 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/models.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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 derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `paid`, `price`, `addr_pickup`, and `addr_delivery` are never read [INFO] [stdout] --> src/models.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Order { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub paid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub price: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub addr_pickup: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | #[serde(rename = "Delivery Address")] [INFO] [stdout] 24 | pub addr_delivery: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` has derived impls for the traits `Clone` and `Debug`, but these are 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Order` [INFO] [stdout] 4 | pub struct Order { [INFO] [stdout] | ----- `Order` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtinyfiledialogs-e80c8e2807d28d99,liblibc-af804044a614b557,liblopdf-3c771081a4e51777,libdtoa-4230132082c646ff,libitoa-a6d78d405065fff7,libpom-cc5e5f9a2123519c,libencoding-1a04ae7326a3bcb4,libencoding_index_tradchinese-c9bd1a44f9a00f2a,libencoding_index_simpchinese-39293d8efa6b2ab2,libencoding_index_japanese-f994c84c77f26969,libencoding_index_korean-1b854a5607906f29,libencoding_index_singlebyte-bac51cf10df4b85e,libchrono-d0430a438f92abf8,libnum_integer-1e79b6b6d5e78643,libnum_traits-9e3d3902f3e174b1,libtime-99b80b9b7be0c7ce,liblzw-c84c8bfca384a621,libflate2-38ec1e155c6f3c35,libminiz_oxide-62e14794d771b1ae,libadler32-e8dd7f5e8ebf53f2,libcrc32fast-8e629e4d35538a90,liblog-df793ceea44cb939,libcfg_if-c52cb2c48f08318d,liblinked_hash_map-4feacfe3249db757,libcsv-e53a99b5f7b8bfa1,libryu-bd05798100f3f663,libitoa-58d3f6d2e8a1cafd,libcsv_core-635ed23e9170ffd2,libbstr-6f2122988bfb201f,libregex_automata-edc327fc68bec4da,libbyteorder-2dd36ae58607d55f,libmemchr-a746743add446ea2,liblazy_static-36da267ce9339a94,libserde-e2fe794043ec64c9}.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/tinyfiledialogs-86d4004ed75b0a01/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/b2d2-b74db4581fc2a2c8.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/libtinyfiledialogs-e80c8e2807d28d99.rlib: archive member 'tinyfiledialogs.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtinyfiledialogs-e80c8e2807d28d99.rlib(tinyfiledialogs-e80c8e2807d28d99.tinyfiledialogs.aef3cb47999d7588-cgu.0.rcgu.o): undefined symbol: tinyfd_messageBox [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtinyfiledialogs-e80c8e2807d28d99.rlib(tinyfiledialogs-e80c8e2807d28d99.tinyfiledialogs.aef3cb47999d7588-cgu.0.rcgu.o): undefined symbol: tinyfd_openFileDialog [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtinyfiledialogs-e80c8e2807d28d99.rlib(tinyfiledialogs-e80c8e2807d28d99.tinyfiledialogs.aef3cb47999d7588-cgu.0.rcgu.o): undefined symbol: tinyfd_saveFileDialog [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `b2d2` (bin "b2d2") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "947c43fe41cbdf0d2991e4f73c03cc88f7d50ef5dd697283b1cbfed882ac4956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947c43fe41cbdf0d2991e4f73c03cc88f7d50ef5dd697283b1cbfed882ac4956", kill_on_drop: false }` [INFO] [stdout] 947c43fe41cbdf0d2991e4f73c03cc88f7d50ef5dd697283b1cbfed882ac4956