[INFO] cloning repository https://github.com/lanesawyer/aws_parameter_update [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lanesawyer/aws_parameter_update" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanesawyer%2Faws_parameter_update", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanesawyer%2Faws_parameter_update'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6df29fd32a37f34447b6c9b3433bdcfeca4f4ee [INFO] documenting lanesawyer/aws_parameter_update against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanesawyer%2Faws_parameter_update" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lanesawyer/aws_parameter_update on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lanesawyer/aws_parameter_update [INFO] finished tweaking git repo https://github.com/lanesawyer/aws_parameter_update [INFO] tweaked toml for git repo https://github.com/lanesawyer/aws_parameter_update written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/lanesawyer/aws_parameter_update already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b649c98ced94a396cd7e36f1df4fd4e1d6411207efe75c5b3e665f737b33ac1b [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" "b649c98ced94a396cd7e36f1df4fd4e1d6411207efe75c5b3e665f737b33ac1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b649c98ced94a396cd7e36f1df4fd4e1d6411207efe75c5b3e665f737b33ac1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b649c98ced94a396cd7e36f1df4fd4e1d6411207efe75c5b3e665f737b33ac1b", kill_on_drop: false }` [INFO] [stdout] b649c98ced94a396cd7e36f1df4fd4e1d6411207efe75c5b3e665f737b33ac1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", 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] 722feb96d951adae6525bc057a3c6e8c9cefcff5157ea459a65f217de0d9e4fe [INFO] running `Command { std: "docker" "start" "-a" "722feb96d951adae6525bc057a3c6e8c9cefcff5157ea459a65f217de0d9e4fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking xml-rs v0.8.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking typenum v1.12.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling rusoto_core v0.42.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-signal v0.2.9 [INFO] [stderr] Checking tokio-process v0.2.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking rusoto_credential v0.42.0 [INFO] [stderr] Checking rusoto_signature v0.42.0 [INFO] [stderr] Checking rusoto_ssm v0.42.0 [INFO] [stderr] Checking aws_parameter_update v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting aws_parameter_update v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! # AWS Parameter Update Library [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! `aws_parameter_update` is a small tool used to quickly update simple AWS Parameters [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// `name` corresponds to the AWS parameter name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// `value` is the parameter's value, stored as a String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// `description` is extra text used to clarify the use of a parameter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | /// 'is_secure' toggles whether the parameter should be encrypted [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / fn read_parameters_yaml(filename: &str) -> Result, Box> { [INFO] [stdout] 127 | | let mut file = File::open(filename).expect("Unable to open parameter input file"); [INFO] [stdout] 128 | | let mut contents = String::new(); [INFO] [stdout] 129 | | [INFO] [stdout] ... | [INFO] [stdout] 151 | | Ok(parameters) [INFO] [stdout] 152 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use log::{error, info}; [INFO] [stdout] 2 | | use rusoto_ssm::GetParameterRequest; [INFO] [stdout] 3 | | use rusoto_ssm::PutParameterRequest; [INFO] [stdout] 4 | | use rusoto_ssm::{Ssm, SsmClient}; [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Parameter { [INFO] [stdout] 32 | | /// Creates a new parameter with arguments [INFO] [stdout] 33 | | /// [INFO] [stdout] 34 | | /// # Example [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / fn needs_updating(&self, client: &SsmClient) -> Result { [INFO] [stdout] 92 | | match client.get_parameter(self.to_get_parameter_request()).sync() { [INFO] [stdout] 93 | | Ok(parameter_result) => { [INFO] [stdout] 94 | | let existing_value = parameter_result.parameter?.value?; [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / fn to_get_parameter_request(&self) -> GetParameterRequest { [INFO] [stdout] 115 | | GetParameterRequest { [INFO] [stdout] 116 | | name: self.name.clone(), [INFO] [stdout] 117 | | with_decryption: Some(true), // always decrypt so we can comepare existing and new values [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parameter.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn to_put_parameter_request(&self) -> PutParameterRequest { [INFO] [stdout] 122 | | PutParameterRequest { [INFO] [stdout] 123 | | name: self.name.clone(), [INFO] [stdout] 124 | | value: self.value.clone(), [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / mod tests { [INFO] [stdout] 155 | | #[test] [INFO] [stdout] 156 | | #[should_panic] [INFO] [stdout] 157 | | fn test_update_from_file() { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "722feb96d951adae6525bc057a3c6e8c9cefcff5157ea459a65f217de0d9e4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722feb96d951adae6525bc057a3c6e8c9cefcff5157ea459a65f217de0d9e4fe", kill_on_drop: false }` [INFO] [stdout] 722feb96d951adae6525bc057a3c6e8c9cefcff5157ea459a65f217de0d9e4fe