[INFO] fetching crate runng_thrift 0.1.0... [INFO] checking runng_thrift-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate runng_thrift 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate runng_thrift 0.1.0 [INFO] finished tweaking crates.io crate runng_thrift 0.1.0 [INFO] tweaked toml for crates.io crate runng_thrift 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate runng_thrift 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--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] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding byteorder v1.2.7 (available: v1.5.0) [INFO] [stderr] Adding integer-encoding v1.0.8 (available: v1.1.7) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v5.0.0) [INFO] [stderr] Adding proc-macro2 v0.3.5 (available: v0.3.8) [INFO] [stderr] Adding runng v0.1.11 (available: v0.3.2) [INFO] [stderr] Adding threadpool v1.7.1 (available: v1.8.1) [INFO] [stderr] Adding thrift v0.12.0 (available: v0.17.0) [INFO] [stderr] Adding try_from v0.2.2 (available: v0.3.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded integer-encoding v1.0.8 [INFO] [stderr] Downloaded runng_derive v0.1.2 [INFO] [stderr] Downloaded thrift v0.12.0 [INFO] [stderr] Downloaded runng v0.1.11 [INFO] [stderr] Downloaded runng-sys v1.1.1-rc.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 120dee1d4d40b96cb402335f89204494c8134f5d55491f34c0714d463b9c24bf [INFO] running `Command { std: "docker" "start" "-a" "120dee1d4d40b96cb402335f89204494c8134f5d55491f34c0714d463b9c24bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "120dee1d4d40b96cb402335f89204494c8134f5d55491f34c0714d463b9c24bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120dee1d4d40b96cb402335f89204494c8134f5d55491f34c0714d463b9c24bf", kill_on_drop: false }` [INFO] [stdout] 120dee1d4d40b96cb402335f89204494c8134f5d55491f34c0714d463b9c24bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87109b9263e065feb62e7334e658868d4541a019d669ed0b72d0731dfd4708b5 [INFO] running `Command { std: "docker" "start" "-a" "87109b9263e065feb62e7334e658868d4541a019d669ed0b72d0731dfd4708b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling bindgen v0.40.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling runng_derive v0.1.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking integer-encoding v1.0.8 [INFO] [stderr] Checking thrift v0.12.0 [INFO] [stderr] Compiling runng-sys v1.1.1-rc.4 [INFO] [stderr] Checking runng v0.1.11 [INFO] [stderr] Checking runng_thrift v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `NngMsg` in the current scope [INFO] [stdout] --> src/nng_channel.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | let message = NngMsg::new()?; [INFO] [stdout] | ^^^ function or associated item not found in `NngMsg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `NngMsg` consider using one of the following associated functions: [INFO] [stdout] NngMsg::create [INFO] [stdout] NngMsg::with_size [INFO] [stdout] NngMsg::new_msg [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runng-0.1.11/src/msg/msg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create() -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_size(size_bytes: usize) -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new_msg(msg: *mut nng_msg) -> NngMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/nng_channel.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | result_wrapper(TNngChannel::new(NngSocket::new(self.socket.nng_socket())))? [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arc`, found `NngSocket` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `NngSocket` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/nng_channel.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(socket: Arc) -> runng::NngResult { [INFO] [stdout] | ^^^ ---------------------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NngSocket` into `Arc` [INFO] [stdout] | [INFO] [stdout] 52 | result_wrapper(TNngChannel::new(NngSocket::new(self.socket.nng_socket()).into()))? [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `NngMsg` in the current scope [INFO] [stdout] --> src/nng_channel.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | let res = self.message.append(buf.as_ptr(), len); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `append_ptr` with a similar name [INFO] [stdout] | [INFO] [stdout] 83 | let res = self.message.append_ptr(buf.as_ptr(), len); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `NngMsg` in the current scope [INFO] [stdout] --> src/nng_channel.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | let mut msg = NngMsg::new()?; [INFO] [stdout] | ^^^ function or associated item not found in `NngMsg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `NngMsg` consider using one of the following associated functions: [INFO] [stdout] NngMsg::create [INFO] [stdout] NngMsg::with_size [INFO] [stdout] NngMsg::new_msg [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runng-0.1.11/src/msg/msg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create() -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_size(size_bytes: usize) -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new_msg(msg: *mut nng_msg) -> NngMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `NngMsg` in the current scope [INFO] [stdout] --> src/nng_channel.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | let message = NngMsg::new()?; [INFO] [stdout] | ^^^ function or associated item not found in `NngMsg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `NngMsg` consider using one of the following associated functions: [INFO] [stdout] NngMsg::create [INFO] [stdout] NngMsg::with_size [INFO] [stdout] NngMsg::new_msg [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runng-0.1.11/src/msg/msg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create() -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_size(size_bytes: usize) -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new_msg(msg: *mut nng_msg) -> NngMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `runng_thrift` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/nng_channel.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | result_wrapper(TNngChannel::new(NngSocket::new(self.socket.nng_socket())))? [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arc`, found `NngSocket` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `NngSocket` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/nng_channel.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(socket: Arc) -> runng::NngResult { [INFO] [stdout] | ^^^ ---------------------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NngSocket` into `Arc` [INFO] [stdout] | [INFO] [stdout] 52 | result_wrapper(TNngChannel::new(NngSocket::new(self.socket.nng_socket()).into()))? [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `NngMsg` in the current scope [INFO] [stdout] --> src/nng_channel.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | let res = self.message.append(buf.as_ptr(), len); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `append_ptr` with a similar name [INFO] [stdout] | [INFO] [stdout] 83 | let res = self.message.append_ptr(buf.as_ptr(), len); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `NngMsg` in the current scope [INFO] [stdout] --> src/nng_channel.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | let mut msg = NngMsg::new()?; [INFO] [stdout] | ^^^ function or associated item not found in `NngMsg` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `NngMsg` consider using one of the following associated functions: [INFO] [stdout] NngMsg::create [INFO] [stdout] NngMsg::with_size [INFO] [stdout] NngMsg::new_msg [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runng-0.1.11/src/msg/msg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create() -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_size(size_bytes: usize) -> NngResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new_msg(msg: *mut nng_msg) -> NngMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runng_thrift` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "87109b9263e065feb62e7334e658868d4541a019d669ed0b72d0731dfd4708b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87109b9263e065feb62e7334e658868d4541a019d669ed0b72d0731dfd4708b5", kill_on_drop: false }` [INFO] [stdout] 87109b9263e065feb62e7334e658868d4541a019d669ed0b72d0731dfd4708b5