[INFO] cloning repository https://github.com/sunjay/elevator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunjay/elevator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Felevator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Felevator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d9b4d236ec85b032eeca246e7dfe31c1345ec94 [INFO] testing sunjay/elevator against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Felevator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunjay/elevator [INFO] finished tweaking git repo https://github.com/sunjay/elevator [INFO] tweaked toml for git repo https://github.com/sunjay/elevator written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunjay/elevator on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunjay/elevator 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f95c750ab6cbb54357c000d5f700a5c1c45d2f63429f1e9862ed3c4dfbd50b8 [INFO] running `Command { std: "docker" "start" "-a" "2f95c750ab6cbb54357c000d5f700a5c1c45d2f63429f1e9862ed3c4dfbd50b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f95c750ab6cbb54357c000d5f700a5c1c45d2f63429f1e9862ed3c4dfbd50b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f95c750ab6cbb54357c000d5f700a5c1c45d2f63429f1e9862ed3c4dfbd50b8", kill_on_drop: false }` [INFO] [stdout] 2f95c750ab6cbb54357c000d5f700a5c1c45d2f63429f1e9862ed3c4dfbd50b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d3aad02ee8bcce1b065dd889175ea5a9f495f04222bea6caeb5ea4b38ba9876 [INFO] running `Command { std: "docker" "start" "-a" "3d3aad02ee8bcce1b065dd889175ea5a9f495f04222bea6caeb5ea4b38ba9876", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.13 [INFO] [stderr] Compiling num-traits v0.1.32 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling serde v0.7.12 [INFO] [stderr] Compiling winapi v0.2.7 [INFO] [stderr] Compiling lazy_static v0.2.1 [INFO] [stderr] Compiling gcc v0.3.28 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling crossbeam v0.2.9 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling ndarray v0.3.1 [INFO] [stderr] Compiling x11-dl v2.6.1 [INFO] [stderr] Compiling odds v0.2.14 [INFO] [stderr] Compiling piston-texture v0.4.0 [INFO] [stderr] Compiling gif v0.8.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling draw_state v0.4.0 [INFO] [stderr] Compiling vecmath v0.2.0 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling itertools v0.4.16 [INFO] [stderr] Compiling gfx_core v0.2.1 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 nodrop v0.1.6 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling read_color v0.1.0 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.19/src/serialize.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | 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/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 450 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling shared_library v0.1.4 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling stb_truetype v0.2.0 [INFO] [stderr] Compiling miniz-sys v0.1.7 [INFO] [stderr] Compiling piston2d-graphics v0.16.0 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling arrayvec v0.3.16 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling osmesa-sys v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.0.9 [INFO] [stderr] Compiling fixedbitset v0.1.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Compiling gl v0.6.1 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.5.2 [INFO] [stderr] Compiling petgraph v0.2.7 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.2.7/src/graph.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | 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 `IndexType` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.2.7/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 `Ord` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:1013:5 [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 428 - assert!(Ix::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] 428 + assert!(::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | [INFO] [stdout] 428 - assert!(Ix::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] 428 + assert!(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/index.crates.io-1949cf8c6b5b557f/petgraph-0.2.7/src/graph.rs:428:38 [INFO] [stdout] | [INFO] [stdout] 376 | impl Graph [INFO] [stdout] | -- expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 428 | 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/index.crates.io-1949cf8c6b5b557f/petgraph-0.2.7/src/graph.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | 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 `IndexType` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.2.7/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 `Ord` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:1013:5 [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 465 - assert!(Ix::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] 465 + assert!(::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | [INFO] [stdout] 465 - assert!(Ix::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] 465 + assert!(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/index.crates.io-1949cf8c6b5b557f/petgraph-0.2.7/src/graph.rs:465:38 [INFO] [stdout] | [INFO] [stdout] 376 | impl Graph [INFO] [stdout] | -- expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 465 | 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] [stderr] Compiling serde_json v0.7.4 [INFO] [stderr] Compiling gfx v0.10.2 [INFO] [stderr] Compiling rayon v0.4.0 [INFO] [stderr] Compiling target_build_utils v0.1.0 [INFO] [stderr] Compiling flate2 v0.2.14 [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: could not compile `petgraph` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0310, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an 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" "3d3aad02ee8bcce1b065dd889175ea5a9f495f04222bea6caeb5ea4b38ba9876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3aad02ee8bcce1b065dd889175ea5a9f495f04222bea6caeb5ea4b38ba9876", kill_on_drop: false }` [INFO] [stdout] 3d3aad02ee8bcce1b065dd889175ea5a9f495f04222bea6caeb5ea4b38ba9876