[INFO] fetching crate tofu 0.1.11... [INFO] checking tofu-0.1.11 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate tofu 0.1.11 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate tofu 0.1.11 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tofu 0.1.11 [INFO] finished tweaking crates.io crate tofu 0.1.11 [INFO] tweaked toml for crates.io crate tofu 0.1.11 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded odds v0.4.0 [INFO] [stderr] Downloaded rawslice v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaa569d1adbef78940fe5f156774090098d55ad103e690ec85663a7a297cdb78 [INFO] running `Command { std: "docker" "start" "-a" "eaa569d1adbef78940fe5f156774090098d55ad103e690ec85663a7a297cdb78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaa569d1adbef78940fe5f156774090098d55ad103e690ec85663a7a297cdb78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa569d1adbef78940fe5f156774090098d55ad103e690ec85663a7a297cdb78", kill_on_drop: false }` [INFO] [stdout] eaa569d1adbef78940fe5f156774090098d55ad103e690ec85663a7a297cdb78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca3a993b3acf4abf8d8fb700c2c5d918d4c06aed30ff57bbe29d66e3fe1edd56 [INFO] running `Command { std: "docker" "start" "-a" "ca3a993b3acf4abf8d8fb700c2c5d918d4c06aed30ff57bbe29d66e3fe1edd56", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking odds v0.4.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking tofu v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub use openssl::crypto::pkey::PKey as Key; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub use openssl::crypto::pkey::PKey as Key; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:540:18 [INFO] [stdout] | [INFO] [stdout] 540 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StdError` [INFO] [stdout] | no `SslError` in `ssl::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StdError` [INFO] [stdout] | no `SslError` in `ssl::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/ssl/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | mod error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `X509Generator` in `x509` [INFO] [stdout] --> src/lib.rs:541:20 [INFO] [stdout] | [INFO] [stdout] 541 | openssl::x509::X509Generator::new() [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `X509Generator` in `x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:539:71 [INFO] [stdout] | [INFO] [stdout] 539 | fn some_cert(name: String) -> (openssl::x509::X509<'static>, openssl::crypto::pkey::PKey) { [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 11 + use openssl::pkey; [INFO] [stdout] | [INFO] [stdout] help: if you import `pkey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 539 - fn some_cert(name: String) -> (openssl::x509::X509<'static>, openssl::crypto::pkey::PKey) { [INFO] [stdout] 539 + fn some_cert(name: String) -> (openssl::x509::X509<'static>, pkey::PKey) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr_eq` in crate `odds` [INFO] [stdout] --> src/lib.rs:794:20 [INFO] [stdout] | [INFO] [stdout] 794 | assert!(!odds::ptr_eq(ctx1.deref(), ctx2.deref())); [INFO] [stdout] | ^^^^^^ not found in `odds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/ssl/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | mod error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub type CertOwned = Cert<'static>; [INFO] [stdout] | ^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub type CertOwned = Cert<'static>; [INFO] [stdout] | ^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | pub cert: Cert<'cert>, [INFO] [stdout] | ^^^^------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | pub cert: Cert<'cert>, [INFO] [stdout] | ^^^^------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn from(name: String, cert: Cert<'a>) -> Self { [INFO] [stdout] | ^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:305:37 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn from(name: String, cert: Cert<'a>, key: Key) -> Self { [INFO] [stdout] | ^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:643:37 [INFO] [stdout] | [INFO] [stdout] 643 | fn ctx_create<'a>(&self, cert: &Cert<'a>, key: &Key) -> Result [INFO] [stdout] | ^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn from(name: String, cert: Cert<'a>) -> Self { [INFO] [stdout] | ^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:305:37 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn from(name: String, cert: Cert<'a>, key: Key) -> Self { [INFO] [stdout] | ^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:643:37 [INFO] [stdout] | [INFO] [stdout] 643 | fn ctx_create<'a>(&self, cert: &Cert<'a>, key: &Key) -> Result [INFO] [stdout] | ^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:539:47 [INFO] [stdout] | [INFO] [stdout] 539 | fn some_cert(name: String) -> (openssl::x509::X509<'static>, openssl::crypto::pkey::PKey) { [INFO] [stdout] | ^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | Cert::from_pem(&mut fcert) [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `&[u8]`, found `&mut File` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut std::fs::File` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | from_pem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | Cert::from_pem(&mut fcert) [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `&[u8]`, found `&mut File` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut std::fs::File` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.68/src/x509/mod.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | from_pem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | let ctx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | self.default_ctx = Some((ctx_rc.clone(), entry.serial)); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ctx` an explicit type [INFO] [stdout] | [INFO] [stdout] 660 | let ctx: /* Type */ = try!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:552:24 [INFO] [stdout] | [INFO] [stdout] 552 | env_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>` [INFO] [stdout] --> src/lib.rs:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx = Rc::new(try!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | self.ctxs.insert(v.public.name, new_ctx.clone()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `new_ctx` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx: Arc = Rc::new(try!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | let ctx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | self.default_ctx = Some((ctx_rc.clone(), entry.serial)); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ctx` an explicit type [INFO] [stdout] | [INFO] [stdout] 660 | let ctx: /* Type */ = try!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>` [INFO] [stdout] --> src/lib.rs:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx = Rc::new(try!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | self.ctxs.insert(v.public.name, new_ctx.clone()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `new_ctx` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx: Arc = Rc::new(try!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SslContext` in the current scope [INFO] [stdout] --> src/lib.rs:776:43 [INFO] [stdout] | [INFO] [stdout] 776 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^ function or associated item not found in `SslContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/lib.rs:776:63 [INFO] [stdout] | [INFO] [stdout] 776 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^^^^ associated item not found in `SslMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SslContext` in the current scope [INFO] [stdout] --> src/lib.rs:814:43 [INFO] [stdout] | [INFO] [stdout] 814 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^ function or associated item not found in `SslContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/lib.rs:814:63 [INFO] [stdout] | [INFO] [stdout] 814 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^^^^ associated item not found in `SslMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0308, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tofu` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0308, E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tofu` (lib test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "ca3a993b3acf4abf8d8fb700c2c5d918d4c06aed30ff57bbe29d66e3fe1edd56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3a993b3acf4abf8d8fb700c2c5d918d4c06aed30ff57bbe29d66e3fe1edd56", kill_on_drop: false }` [INFO] [stdout] ca3a993b3acf4abf8d8fb700c2c5d918d4c06aed30ff57bbe29d66e3fe1edd56