[INFO] cloning repository https://github.com/Xinghaoz/p2p3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xinghaoz/p2p3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXinghaoz%2Fp2p3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXinghaoz%2Fp2p3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b6507fd3dda689f2b2a18b85570b0ad56ddadc0 [INFO] testing Xinghaoz/p2p3 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXinghaoz%2Fp2p3" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xinghaoz/p2p3 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xinghaoz/p2p3 [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Xinghaoz/p2p3 [INFO] tweaked toml for git repo https://github.com/Xinghaoz/p2p3 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Xinghaoz/p2p3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-11/source/examples/send_cmd.rs [INFO] [stderr] * /workspace/builds/worker-11/source/examples/open_browser.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 example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = 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] Updating git repository `https://github.com/maidsafe/crust.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: TOML file found which contains invalid syntax and will soon not parse [INFO] [stderr] at `/workspace/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`. [INFO] [stderr] [INFO] [stderr] The TOML spec requires newlines after table definitions (e.g., `[a] b = 1` is [INFO] [stderr] invalid), but this file has a table header which does not have a newline after [INFO] [stderr] it. A newline needs to be added and this warning will soon become a hard error [INFO] [stderr] in the future. [INFO] [stderr] warning: parsed version requirement `0.2*` is no longer valid [INFO] [stderr] [INFO] [stderr] Previous versions of Cargo accepted this malformed requirement, [INFO] [stderr] but it is being deprecated. This was found when parsing the manifest [INFO] [stderr] of iron 0.3.0, and the correct version requirement is `0.2.*`. [INFO] [stderr] [INFO] [stderr] This will soon become a hard error, so it's either recommended to [INFO] [stderr] update to a fixed version or contact the upstream maintainer about [INFO] [stderr] this warning. [INFO] [stderr] [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3b89cefa52c39db1e8490002c20ee616ea27f56f5232deb63e52fb2dfee6154 [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" "c3b89cefa52c39db1e8490002c20ee616ea27f56f5232deb63e52fb2dfee6154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3b89cefa52c39db1e8490002c20ee616ea27f56f5232deb63e52fb2dfee6154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b89cefa52c39db1e8490002c20ee616ea27f56f5232deb63e52fb2dfee6154", kill_on_drop: false }` [INFO] [stdout] c3b89cefa52c39db1e8490002c20ee616ea27f56f5232deb63e52fb2dfee6154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--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] f7ea8c44376d2384df3891e2474d503eb7844e4e1bf4fadc27fafff0649f1c7b [INFO] running `Command { std: "docker" "start" "-a" "f7ea8c44376d2384df3891e2474d503eb7844e4e1bf4fadc27fafff0649f1c7b", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/examples/send_cmd.rs [INFO] [stderr] * /opt/rustwide/workdir/examples/open_browser.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 example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = 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: parsed version requirement `0.2*` is no longer valid [INFO] [stderr] [INFO] [stderr] Previous versions of Cargo accepted this malformed requirement, [INFO] [stderr] but it is being deprecated. This was found when parsing the manifest [INFO] [stderr] of iron 0.3.0, and the correct version requirement is `0.2.*`. [INFO] [stderr] [INFO] [stderr] This will soon become a hard error, so it's either recommended to [INFO] [stderr] update to a fixed version or contact the upstream maintainer about [INFO] [stderr] this warning. [INFO] [stderr] [INFO] [stderr] warning: TOML file found which contains invalid syntax and will soon not parse [INFO] [stderr] at `/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`. [INFO] [stderr] [INFO] [stderr] The TOML spec requires newlines after table definitions (e.g., `[a] b = 1` is [INFO] [stderr] invalid), but this file has a table header which does not have a newline after [INFO] [stderr] it. A newline needs to be added and this warning will soon become a hard error [INFO] [stderr] in the future. [INFO] [stderr] Compiling libc v0.2.10 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling winapi v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling num-traits v0.1.32 [INFO] [stderr] Compiling matches v0.1.2 [INFO] [stderr] Compiling gcc v0.3.26 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.1 [INFO] [stderr] Compiling mempool v0.3.1 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling byteorder v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.2 [INFO] [stderr] Compiling httparse v1.1.2 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling serde v0.7.0 [INFO] [stderr] Compiling quick-error v1.0.0 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling traitobject v0.0.3 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling language-tags v0.0.7 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling c_linked_list v1.1.0 [INFO] [stderr] Compiling void v1.0.1 [INFO] [stderr] Compiling crossbeam v0.2.9 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling itertools v0.4.12 [INFO] [stderr] Compiling strsim v0.3.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stdout] | [INFO] [stdout] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- borrow of `state` occurs here [INFO] [stdout] ... [INFO] [stdout] 959 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^ use of borrowed `state` [INFO] [stdout] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stdout] | ------- borrow later used here [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 E0503`. [INFO] [stdout] [INFO] [stderr] error: could not compile `getopts` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f7ea8c44376d2384df3891e2474d503eb7844e4e1bf4fadc27fafff0649f1c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ea8c44376d2384df3891e2474d503eb7844e4e1bf4fadc27fafff0649f1c7b", kill_on_drop: false }` [INFO] [stdout] f7ea8c44376d2384df3891e2474d503eb7844e4e1bf4fadc27fafff0649f1c7b