[INFO] fetching crate dustr 0.1.2... [INFO] checking dustr-0.1.2 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate dustr 0.1.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate dustr 0.1.2 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dustr 0.1.2 [INFO] finished tweaking crates.io crate dustr 0.1.2 [INFO] tweaked toml for crates.io crate dustr 0.1.2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate dustr 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ffishim v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 256154ad28c5bfb59e171b41c35aab8ea21fdff33c78c7e9352c2bb9dac5e948 [INFO] running `Command { std: "docker" "start" "-a" "256154ad28c5bfb59e171b41c35aab8ea21fdff33c78c7e9352c2bb9dac5e948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256154ad28c5bfb59e171b41c35aab8ea21fdff33c78c7e9352c2bb9dac5e948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256154ad28c5bfb59e171b41c35aab8ea21fdff33c78c7e9352c2bb9dac5e948", kill_on_drop: false }` [INFO] [stdout] 256154ad28c5bfb59e171b41c35aab8ea21fdff33c78c7e9352c2bb9dac5e948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eb78c4c08ab763f9e22e8a2695ba430564d8b85f503a0bf9c71f8987569109d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3eb78c4c08ab763f9e22e8a2695ba430564d8b85f503a0bf9c71f8987569109d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling unindent v0.1.6 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking os_str_bytes v2.3.1 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking darling v0.10.2 [INFO] [stderr] Checking ffishim v0.1.2 [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/field.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | crate::types::switch(&self.ty).try_into(&self.ty, receiver) [INFO] [stdout] | ^^^^^^^^ -------- -------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/field.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn try_into(&self, idx: usize, receiver: Option<&::syn::Expr>) -> ::syn::Expr { [INFO] [stdout] | ----------- expected `syn::Expr` because of return type [INFO] [stdout] ... [INFO] [stdout] 40 | crate::types::switch(&self.ty).try_into(&self.ty, receiver) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `syn::Expr`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `syn::Expr` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/function.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | let expr = crate::types::switch(&pat.ty).try_into(&pat.ty, arg_name); [INFO] [stdout] | ^^^^^^^^ ------- -------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/function.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | crate::types::Result.try_or_return(expr) [INFO] [stdout] | ^^^^ expected enum `syn::Expr`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `syn::Expr` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/types/option.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | let subexpr = crate::types::switch(&subtype).try_into(&subtype, receiver.clone()); [INFO] [stdout] | ^^^^^^^^ -------- ---------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, _>: ToTokens` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/types/option.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / parse_quote! { [INFO] [stdout] 28 | | { [INFO] [stdout] 29 | | let tmp: Result<#sty, ::ffishim::library::Error>; [INFO] [stdout] 30 | | if #expr == ::std::ptr::null_mut() { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_________^ the trait `ToTokens` is not implemented for `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: required by `to_tokens` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/types/vec.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | let subexpr = crate::types::switch(&orig_subtype).try_into(&orig_subtype, receiver.clone()); [INFO] [stdout] | ^^^^^^^^ ------------- ---------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, _>: ToTokens` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ffishim-0.1.2/src/types/vec.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / parse_quote! {{ [INFO] [stdout] 30 | | let tmp = #expr; [INFO] [stdout] 31 | | if !tmp.is_null() { [INFO] [stdout] 32 | | let tmp = *unsafe { Box::from_raw(tmp) }; [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | }} [INFO] [stdout] | |__________^ the trait `ToTokens` is not implemented for `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: required by `to_tokens` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffishim` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3eb78c4c08ab763f9e22e8a2695ba430564d8b85f503a0bf9c71f8987569109d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eb78c4c08ab763f9e22e8a2695ba430564d8b85f503a0bf9c71f8987569109d", kill_on_drop: false }` [INFO] [stdout] 3eb78c4c08ab763f9e22e8a2695ba430564d8b85f503a0bf9c71f8987569109d