[INFO] cloning repository https://github.com/mlafroce/7574-distribuidos-tp3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlafroce/7574-distribuidos-tp3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2F7574-distribuidos-tp3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2F7574-distribuidos-tp3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58735dc7e2cad64615d93ce531c6c7fe25015dc3 [INFO] documenting mlafroce/7574-distribuidos-tp3 against 1.97.0-beta.1 for beta-rustdoc-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2F7574-distribuidos-tp3" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mlafroce/7574-distribuidos-tp3 [INFO] finished tweaking git repo https://github.com/mlafroce/7574-distribuidos-tp3 [INFO] tweaked toml for git repo https://github.com/mlafroce/7574-distribuidos-tp3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mlafroce/7574-distribuidos-tp3 on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mlafroce/7574-distribuidos-tp3 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bac13f73e2158ee552ebb9c03811e3cfe24fac7abfe8e08fc3cfd57652dd12e [INFO] running `Command { std: "docker" "start" "-a" "0bac13f73e2158ee552ebb9c03811e3cfe24fac7abfe8e08fc3cfd57652dd12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bac13f73e2158ee552ebb9c03811e3cfe24fac7abfe8e08fc3cfd57652dd12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bac13f73e2158ee552ebb9c03811e3cfe24fac7abfe8e08fc3cfd57652dd12e", kill_on_drop: false }` [INFO] [stdout] 0bac13f73e2158ee552ebb9c03811e3cfe24fac7abfe8e08fc3cfd57652dd12e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e76746fda64389eeb0df9d3779435a43807693c648ce019aa8037e561d855bd [INFO] running `Command { std: "docker" "start" "-a" "2e76746fda64389eeb0df9d3779435a43807693c648ce019aa8037e561d855bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Checking once_cell v1.12.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking input_buffer v0.5.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling snafu-derive v0.7.1 [INFO] [stderr] Compiling envconfig_derive v0.10.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking envconfig v0.10.0 [INFO] [stderr] Checking snafu v0.7.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling cargo-lock v7.1.0 [INFO] [stderr] Compiling built v0.5.1 [INFO] [stderr] Compiling amiquip v0.4.2 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking tp2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting tp2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/middleware/connection.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/middleware/connection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware/transaction_log.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut text = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/middleware/transaction_log.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut text = String::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_id` [INFO] [stdout] --> src/leader_election/tcp.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | from_id: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `producers`, `consumers`, and `finished_producers` are never read [INFO] [stdout] --> src/middleware/connection.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct BinaryExchange<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | producers: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | consumers: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 67 | finished_producers: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/middleware/connection.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_consumer(&self, channel_id: &str) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_consumer(&self, channel_id: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/middleware/connection.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_direct_exchange(&self) -> Exchange { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_direct_exchange(&self) -> Exchange<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/middleware/connection.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_named_exchange(&self, exchange: &str, type_: ExchangeType) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_named_exchange(&self, exchange: &str, type_: ExchangeType) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, openssl v0.10.40 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Generated /opt/rustwide/target/doc/tp2/index.html and 16 other files [INFO] running `Command { std: "docker" "inspect" "2e76746fda64389eeb0df9d3779435a43807693c648ce019aa8037e561d855bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e76746fda64389eeb0df9d3779435a43807693c648ce019aa8037e561d855bd", kill_on_drop: false }` [INFO] [stdout] 2e76746fda64389eeb0df9d3779435a43807693c648ce019aa8037e561d855bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 231ab85a6c170408798a170400a87826b085855e32d355d0ac276dd3756b4b8a [INFO] running `Command { std: "docker" "start" "-a" "231ab85a6c170408798a170400a87826b085855e32d355d0ac276dd3756b4b8a", kill_on_drop: false }` [INFO] [stderr] Documenting tp2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, openssl v0.10.40 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Generated /opt/rustwide/target/doc/tp2/index.html [INFO] running `Command { std: "docker" "inspect" "231ab85a6c170408798a170400a87826b085855e32d355d0ac276dd3756b4b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231ab85a6c170408798a170400a87826b085855e32d355d0ac276dd3756b4b8a", kill_on_drop: false }` [INFO] [stdout] 231ab85a6c170408798a170400a87826b085855e32d355d0ac276dd3756b4b8a