[INFO] crate google-kgsearch1-cli 1.0.4+20170109 is already in cache [INFO] testing google-kgsearch1-cli-1.0.4+20170109 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate google-kgsearch1-cli 1.0.4+20170109 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate google-kgsearch1-cli 1.0.4+20170109 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate google-kgsearch1-cli 1.0.4+20170109 [INFO] removed path dependency google-kgsearch1 from crates.io crate google-kgsearch1-cli 1.0.4+20170109 [INFO] finished tweaking crates.io crate google-kgsearch1-cli 1.0.4+20170109 [INFO] tweaked toml for crates.io crate google-kgsearch1-cli 1.0.4+20170109 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-6/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-6/source/src/main.rs` was erroneously implicitly accepted for binary `kgsearch1`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: version requirement `1.0.4+20170109` for dependency `google-kgsearch1` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f42f252637c647073c24f52fc50d94a48ab29d7a60a7e2f8995f5204a8a11601 [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" "f42f252637c647073c24f52fc50d94a48ab29d7a60a7e2f8995f5204a8a11601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f42f252637c647073c24f52fc50d94a48ab29d7a60a7e2f8995f5204a8a11601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f42f252637c647073c24f52fc50d94a48ab29d7a60a7e2f8995f5204a8a11601", kill_on_drop: false }` [INFO] [stdout] f42f252637c647073c24f52fc50d94a48ab29d7a60a7e2f8995f5204a8a11601 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "RUSTFLAGS=--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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85d53b482143012b713c76760cc98b11ffc09c41c5d5e4b35a20585467c8492e [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" "85d53b482143012b713c76760cc98b11ffc09c41c5d5e4b35a20585467c8492e", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `kgsearch1`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: version requirement `1.0.4+20170109` for dependency `google-kgsearch1` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling yup-hyper-mock v2.0.0 [INFO] [stderr] Compiling hyper-rustls v0.6.2 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling yup-oauth2 v1.0.12 [INFO] [stderr] Compiling google-kgsearch1 v1.0.4+20151215 [INFO] [stderr] Compiling google-kgsearch1-cli v1.0.4+20170109 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/cmn.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 640 | try!(issue.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmn.rs:373:58 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn writer_from_opts(arg: Option<&str>) -> Result, io::Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oauth2::Token: serde::Serialize` is not satisfied [INFO] [stdout] --> src/cmn.rs:456:62 [INFO] [stdout] | [INFO] [stdout] 456 | match json::to_writer_pretty(&mut f, &token) { [INFO] [stdout] | ^^^^^^ the trait `serde::Serialize` is not implemented for `oauth2::Token` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-0.9.10/src/ser.rs:1338:14 [INFO] [stdout] | [INFO] [stdout] 1338 | T: ser::Serialize, [INFO] [stdout] | -------------- required by this bound in `serde_json::to_writer_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oauth2::Token: serde::Deserialize` is not satisfied [INFO] [stdout] --> src/cmn.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 470 | match json::de::from_reader(f) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Deserialize` is not implemented for `oauth2::Token` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-0.9.10/src/de.rs:1058:14 [INFO] [stdout] | [INFO] [stdout] 1058 | T: de::Deserialize, [INFO] [stdout] | --------------- required by this bound in `serde_json::from_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oauth2::ConsoleApplicationSecret: serde::Deserialize` is not satisfied [INFO] [stdout] --> src/cmn.rs:714:47 [INFO] [stdout] | [INFO] [stdout] 714 | ... = json::from_str(json_console_secret).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `serde::Deserialize` is not implemented for `oauth2::ConsoleApplicationSecret` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-0.9.10/src/de.rs:1088:14 [INFO] [stdout] | [INFO] [stdout] 1088 | where T: de::Deserialize, [INFO] [stdout] | --------------- required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oauth2::ConsoleApplicationSecret: serde::Serialize` is not satisfied [INFO] [stdout] --> src/cmn.rs:715:66 [INFO] [stdout] | [INFO] [stdout] 715 | ... match json::to_writer_pretty(&mut f, &console_secret) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `oauth2::ConsoleApplicationSecret` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-0.9.10/src/ser.rs:1338:14 [INFO] [stdout] | [INFO] [stdout] 1338 | T: ser::Serialize, [INFO] [stdout] | -------------- required by this bound in `serde_json::to_writer_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oauth2::ConsoleApplicationSecret: serde::Deserialize` is not satisfied [INFO] [stdout] --> src/cmn.rs:726:23 [INFO] [stdout] | [INFO] [stdout] 726 | match json::de::from_reader::<_, ConsoleApplicationSecret>(f) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Deserialize` is not implemented for `oauth2::ConsoleApplicationSecret` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-0.9.10/src/de.rs:1058:14 [INFO] [stdout] | [INFO] [stdout] 1058 | T: de::Deserialize, [INFO] [stdout] | --------------- required by this bound in `serde_json::from_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `google-kgsearch1-cli`. [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "85d53b482143012b713c76760cc98b11ffc09c41c5d5e4b35a20585467c8492e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d53b482143012b713c76760cc98b11ffc09c41c5d5e4b35a20585467c8492e", kill_on_drop: false }` [INFO] [stdout] 85d53b482143012b713c76760cc98b11ffc09c41c5d5e4b35a20585467c8492e