[INFO] updating cached repository https://github.com/Tangresh/rust-gol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 934f2c59bf5f252a1bcaba2124314e8e3be4a770 [INFO] checking Tangresh/rust-gol against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTangresh%2Frust-gol" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tangresh/rust-gol on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tangresh/rust-gol [INFO] finished tweaking git repo https://github.com/Tangresh/rust-gol [INFO] tweaked toml for git repo https://github.com/Tangresh/rust-gol written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Tangresh/rust-gol already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc3dc9618fd2a335b700025f1dd2f1b9604e9e7246ebc68d8025733537e0e225 [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" "fc3dc9618fd2a335b700025f1dd2f1b9604e9e7246ebc68d8025733537e0e225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc3dc9618fd2a335b700025f1dd2f1b9604e9e7246ebc68d8025733537e0e225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc3dc9618fd2a335b700025f1dd2f1b9604e9e7246ebc68d8025733537e0e225", kill_on_drop: false }` [INFO] [stdout] fc3dc9618fd2a335b700025f1dd2f1b9604e9e7246ebc68d8025733537e0e225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--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] 3dabc9323a7638a66c6e8a25cda367018ac53e82ca846638f958dc67db46d804 [INFO] running `Command { std: "docker" "start" "-a" "3dabc9323a7638a66c6e8a25cda367018ac53e82ca846638f958dc67db46d804", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling serde v0.8.19 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Compiling gcc v0.3.39 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Checking shader_version v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking fixedbitset v0.1.5 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Checking nodrop v0.1.8 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Checking gfx_core v0.4.0 [INFO] [stderr] Checking gif v0.9.0 [INFO] [stderr] Checking petgraph v0.2.9 [INFO] [stderr] Checking stb_truetype v0.2.0 [INFO] [stderr] Checking arrayvec v0.3.20 [INFO] [stderr] Checking pistoncore-input v0.14.0 [INFO] [stderr] Compiling rand v0.3.15 [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[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.9/src/graph.rs:421:21 [INFO] [stdout] | [INFO] [stdout] 421 | assert!(Ix::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^^ multiple `max` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `graph::IndexType` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.9/src/graph.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn max() -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `std::cmp::Ord` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 421 | assert!(graph::IndexType::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 421 | assert!(std::cmp::Ord::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.9/src/graph.rs:421:38 [INFO] [stdout] | [INFO] [stdout] 374 | impl Graph [INFO] [stdout] | -- this type parameter [INFO] [stdout] ... [INFO] [stdout] 421 | assert!(Ix::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^ expected type parameter `Ix`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `Ix` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.9/src/graph.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | assert!(Ix::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^^ multiple `max` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `graph::IndexType` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.9/src/graph.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn max() -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `std::cmp::Ord` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 458 | assert!(graph::IndexType::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 458 | assert!(std::cmp::Ord::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.9/src/graph.rs:458:38 [INFO] [stdout] | [INFO] [stdout] 374 | impl Graph [INFO] [stdout] | -- this type parameter [INFO] [stdout] ... [INFO] [stdout] 458 | assert!(Ix::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^ expected type parameter `Ix`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `Ix` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3dabc9323a7638a66c6e8a25cda367018ac53e82ca846638f958dc67db46d804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dabc9323a7638a66c6e8a25cda367018ac53e82ca846638f958dc67db46d804", kill_on_drop: false }` [INFO] [stdout] 3dabc9323a7638a66c6e8a25cda367018ac53e82ca846638f958dc67db46d804