[INFO] fetching crate asn1rs 0.3.1... [INFO] checking asn1rs-0.3.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate asn1rs 0.3.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate asn1rs 0.3.1 [INFO] finished tweaking crates.io crate asn1rs 0.3.1 [INFO] tweaked toml for crates.io crate asn1rs 0.3.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate asn1rs 0.3.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate asn1rs 0.3.1 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.5 [INFO] [stderr] Downloaded asn1rs-macros v0.3.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.8 [INFO] [stderr] Downloaded strum v0.19.5 [INFO] [stderr] Downloaded postgres v0.19.5 [INFO] [stderr] Downloaded strum_macros v0.19.4 [INFO] [stderr] Downloaded async-trait v0.1.72 [INFO] [stderr] Downloaded stringprep v0.1.3 [INFO] [stderr] Downloaded asn1rs-model v0.3.0 [INFO] [stderr] Downloaded serde v1.0.176 [INFO] [stderr] Downloaded asn1rs-model v0.2.2 [INFO] [stderr] Downloaded postgres-types v0.2.5 [INFO] [stderr] Downloaded serde_derive v1.0.176 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64ec61d7adf7431f2d5f3ce3952890b0e9f152bedad613715e5428a9081ad9a1 [INFO] running `Command { std: "docker" "start" "-a" "64ec61d7adf7431f2d5f3ce3952890b0e9f152bedad613715e5428a9081ad9a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64ec61d7adf7431f2d5f3ce3952890b0e9f152bedad613715e5428a9081ad9a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ec61d7adf7431f2d5f3ce3952890b0e9f152bedad613715e5428a9081ad9a1", kill_on_drop: false }` [INFO] [stdout] 64ec61d7adf7431f2d5f3ce3952890b0e9f152bedad613715e5428a9081ad9a1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f564d268b01a6cf1ce561aa03e01fbbe5f19b7aaf25f8b0857d7f1d15c718bc [INFO] running `Command { std: "docker" "start" "-a" "8f564d268b01a6cf1ce561aa03e01fbbe5f19b7aaf25f8b0857d7f1d15c718bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.176 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.176 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling codegen v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling asn1rs-model v0.2.2 [INFO] [stderr] Checking asn1rs-model v0.3.0 [INFO] [stderr] Compiling asn1rs-macros v0.3.0 [INFO] [stderr] Checking asn1rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/proto_write.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/uper.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/proto_write.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/uper.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Topping` is never used [INFO] [stdout] --> tests/showcase.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Topping { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/basic_sequence.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | ghi: Some("great extension".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/basic_set.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | jkl: Some("jkl".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asn1rs` (test "basic_sequence") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/basic_set.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | ghi: Some("ghi".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/basic_set.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | jkl: None, [INFO] [stdout] | ^^^^ expected `String`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/basic_set.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | ghi: None, [INFO] [stdout] | ^^^^ expected `String`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/basic_set.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | jkl: Some("jkl".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/basic_set.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | ghi: None, [INFO] [stdout] | ^^^^ expected `String`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asn1rs` (test "basic_set") due to 6 previous errors [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/proto_write.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/uper.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/proto_write.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_reader(&self) -> ProtobufReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syn/io/uper.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn as_reader(&self) -> UperReader> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f564d268b01a6cf1ce561aa03e01fbbe5f19b7aaf25f8b0857d7f1d15c718bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f564d268b01a6cf1ce561aa03e01fbbe5f19b7aaf25f8b0857d7f1d15c718bc", kill_on_drop: false }` [INFO] [stdout] 8f564d268b01a6cf1ce561aa03e01fbbe5f19b7aaf25f8b0857d7f1d15c718bc