[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] testing maximilienandile/rust_api_poc against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaximilienandile%2Frust_api_poc" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maximilienandile/rust_api_poc on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-0/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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] * /workspace/builds/worker-0/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-0/source/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 num_cpus v1.7.0 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded serde_json v1.0.5 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded net2 v0.2.31 [INFO] [stderr] Downloaded nix v0.9.0 [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] [stderr] Downloaded num v0.1.40 [INFO] [stderr] Downloaded bufstream v0.1.3 [INFO] [stderr] Downloaded itoa v0.3.4 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded regex v0.2.2 [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded url v1.6.0 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded regex-syntax v0.4.1 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded serde v1.0.19 [INFO] [stderr] Downloaded smallvec v0.4.4 [INFO] [stderr] Downloaded twox-hash v1.1.0 [INFO] [stderr] Downloaded atoi v0.2.2 [INFO] [stderr] Downloaded mysql_common v0.2.0 [INFO] [stderr] Downloaded mysql v12.0.3 [INFO] [stderr] Downloaded named_pipe v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d746cf5fd3a7362e06d2b5d13bee4bc95ab5d6436b8dc35920749463d9c093a [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" "7d746cf5fd3a7362e06d2b5d13bee4bc95ab5d6436b8dc35920749463d9c093a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d746cf5fd3a7362e06d2b5d13bee4bc95ab5d6436b8dc35920749463d9c093a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d746cf5fd3a7362e06d2b5d13bee4bc95ab5d6436b8dc35920749463d9c093a", kill_on_drop: false }` [INFO] [stdout] 7d746cf5fd3a7362e06d2b5d13bee4bc95ab5d6436b8dc35920749463d9c093a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 829e272de0709e860a228f5cf95d15013ae35a66a4354d62e056c5548d358209 [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" "829e272de0709e860a228f5cf95d15013ae35a66a4354d62e056c5548d358209", 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 `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling percent-encoding v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling httparse v1.2.3 [INFO] [stderr] Compiling serde v1.0.19 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling smallvec v0.4.4 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling bufstream v0.1.3 [INFO] [stderr] Compiling route-recognizer v0.1.12 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling atoi v0.2.2 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling idna v0.1.4 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling url v1.6.0 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling twox-hash v1.1.0 [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [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` 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/github.com-1ecc6299db9ec823/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 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0713`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "829e272de0709e860a228f5cf95d15013ae35a66a4354d62e056c5548d358209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829e272de0709e860a228f5cf95d15013ae35a66a4354d62e056c5548d358209", kill_on_drop: false }` [INFO] [stdout] 829e272de0709e860a228f5cf95d15013ae35a66a4354d62e056c5548d358209