[INFO] cloning repository https://github.com/maximilienandile/rust_api_poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maximilienandile/rust_api_poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaximilienandile%2Frust_api_poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaximilienandile%2Frust_api_poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8e92a3aece2f186c6d5c321891ebfcdb6bcc076 [INFO] checking maximilienandile/rust_api_poc against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaximilienandile%2Frust_api_poc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maximilienandile/rust_api_poc on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maximilienandile/rust_api_poc [INFO] finished tweaking git repo https://github.com/maximilienandile/rust_api_poc [INFO] tweaked toml for git repo https://github.com/maximilienandile/rust_api_poc written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maximilienandile/rust_api_poc 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--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] * 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 `src/main.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded twox-hash v1.1.0 [INFO] [stderr] Downloaded atoi v0.2.2 [INFO] [stderr] Downloaded serde v1.0.19 [INFO] [stderr] Downloaded named_pipe v0.2.4 [INFO] [stderr] Downloaded mysql v12.0.3 [INFO] [stderr] Downloaded mysql_common v0.2.0 [INFO] [stderr] Downloaded serde_json v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c29ff2fcd87e1aaaf908d1cee8bb2daf7ed4ea79c209819fe32df529fd18ec3d [INFO] running `Command { std: "docker" "start" "-a" "c29ff2fcd87e1aaaf908d1cee8bb2daf7ed4ea79c209819fe32df529fd18ec3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c29ff2fcd87e1aaaf908d1cee8bb2daf7ed4ea79c209819fe32df529fd18ec3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29ff2fcd87e1aaaf908d1cee8bb2daf7ed4ea79c209819fe32df529fd18ec3d", kill_on_drop: false }` [INFO] [stdout] c29ff2fcd87e1aaaf908d1cee8bb2daf7ed4ea79c209819fe32df529fd18ec3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f73efe8b9df2da8f5579c6dd1488fb88036dc69d0d1dfc24d4909567a118d44 [INFO] running `Command { std: "docker" "start" "-a" "1f73efe8b9df2da8f5579c6dd1488fb88036dc69d0d1dfc24d4909567a118d44", 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] * 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 `src/main.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.5 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking percent-encoding v1.0.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking idna v0.1.4 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking serde v1.0.19 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking httparse v1.2.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking url v1.6.0 [INFO] [stderr] Checking atoi v0.2.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking twox-hash v1.1.0 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/twox-hash-1.1.0/src/number_streams.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | fn count(self) -> usize() { [INFO] [stdout] | ^^^^^^^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 74 | number_stream!(U32FromBytes, u32, U32_BYTES); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `number_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/twox-hash-1.1.0/src/number_streams.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | fn count(self) -> usize() { [INFO] [stdout] | ^^^^^^^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 75 | number_stream!(U64FromBytes, u64, U64_BYTES); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `number_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0214`. [INFO] [stdout] [INFO] [stderr] error: could not compile `twox-hash` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0713]: borrow may still be in use when destructor runs [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/url-1.6.0/src/form_urlencoded.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 259 | impl<'a> Target for ::UrlQuery<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } [INFO] [stdout] 261 | fn finish(self) -> &'a mut ::Url { self.url } [INFO] [stdout] | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait [INFO] [stdout] | | [INFO] [stdout] | returning this value requires that `*self.url` is borrowed for `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0713`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url` (lib) due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1f73efe8b9df2da8f5579c6dd1488fb88036dc69d0d1dfc24d4909567a118d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f73efe8b9df2da8f5579c6dd1488fb88036dc69d0d1dfc24d4909567a118d44", kill_on_drop: false }` [INFO] [stdout] 1f73efe8b9df2da8f5579c6dd1488fb88036dc69d0d1dfc24d4909567a118d44 [INFO] checking maximilienandile/rust_api_poc against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaximilienandile%2Frust_api_poc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maximilienandile/rust_api_poc on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maximilienandile/rust_api_poc [INFO] finished tweaking git repo https://github.com/maximilienandile/rust_api_poc [INFO] tweaked toml for git repo https://github.com/maximilienandile/rust_api_poc written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/maximilienandile/rust_api_poc 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--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] * 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 `src/main.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01c00e6e53f8293be08e9634ba45cc800023e6bf047965dca7cebffcfe36a510 [INFO] running `Command { std: "docker" "start" "-a" "01c00e6e53f8293be08e9634ba45cc800023e6bf047965dca7cebffcfe36a510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01c00e6e53f8293be08e9634ba45cc800023e6bf047965dca7cebffcfe36a510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c00e6e53f8293be08e9634ba45cc800023e6bf047965dca7cebffcfe36a510", kill_on_drop: false }` [INFO] [stdout] 01c00e6e53f8293be08e9634ba45cc800023e6bf047965dca7cebffcfe36a510 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50e0d7535cbc1320bde5d2b6228d20ca7ab86bff993725a6b0ccc39463a5fbf3 [INFO] running `Command { std: "docker" "start" "-a" "50e0d7535cbc1320bde5d2b6228d20ca7ab86bff993725a6b0ccc39463a5fbf3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "50e0d7535cbc1320bde5d2b6228d20ca7ab86bff993725a6b0ccc39463a5fbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e0d7535cbc1320bde5d2b6228d20ca7ab86bff993725a6b0ccc39463a5fbf3", kill_on_drop: false }` [INFO] [stdout] 50e0d7535cbc1320bde5d2b6228d20ca7ab86bff993725a6b0ccc39463a5fbf3