[INFO] cloning repository https://github.com/mfaerevaag/semic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfaerevaag/semic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfaerevaag%2Fsemic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfaerevaag%2Fsemic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9111c33a0e24f1ee5e7cc9ac612fbf73559b7b45 [INFO] checking mfaerevaag/semic against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfaerevaag%2Fsemic" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mfaerevaag/semic [INFO] finished tweaking git repo https://github.com/mfaerevaag/semic [INFO] tweaked toml for git repo https://github.com/mfaerevaag/semic written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mfaerevaag/semic on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mfaerevaag/semic 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.13.1 [INFO] [stderr] Downloaded ena v0.5.0 [INFO] [stderr] Downloaded docopt v0.7.0 [INFO] [stderr] Downloaded atty v0.1.2 [INFO] [stderr] Downloaded diff v0.1.10 [INFO] [stderr] Downloaded ordermap v0.2.12 [INFO] [stderr] Downloaded petgraph v0.4.8 [INFO] [stderr] Downloaded fixedbitset v0.1.8 [INFO] [stderr] Downloaded lalrpop-intern v0.13.1 [INFO] [stderr] Downloaded lalrpop v0.13.1 [INFO] [stderr] Downloaded lalrpop-snap v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7007159d8fe827df4275ae506df5e6e6273671dfba9b35bc0e86457c23c2b99 [INFO] running `Command { std: "docker" "start" "-a" "d7007159d8fe827df4275ae506df5e6e6273671dfba9b35bc0e86457c23c2b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7007159d8fe827df4275ae506df5e6e6273671dfba9b35bc0e86457c23c2b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7007159d8fe827df4275ae506df5e6e6273671dfba9b35bc0e86457c23c2b99", kill_on_drop: false }` [INFO] [stdout] d7007159d8fe827df4275ae506df5e6e6273671dfba9b35bc0e86457c23c2b99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 622206e2d7b8fe3b49b01e33c6ed688385bc22c0fe4baa8f40279afc18736c21 [INFO] running `Command { std: "docker" "start" "-a" "622206e2d7b8fe3b49b01e33c6ed688385bc22c0fe4baa8f40279afc18736c21", 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.31 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling fixedbitset v0.1.8 [INFO] [stderr] Compiling ordermap v0.2.12 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling either v1.2.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling lalrpop-intern v0.13.1 [INFO] [stderr] Compiling ena v0.5.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling diff v0.1.10 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling lalrpop-util v0.13.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling itertools v0.5.10 [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.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/8365fcb2b840c95eeb0bc377af8bd498fad22245/library/alloc/src/borrow.rs:179: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] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling petgraph v0.4.8 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Checking getopts v0.2.15 [INFO] [stderr] Compiling atty v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getopts-0.2.15/src/lib.rs:1033:25 [INFO] [stdout] | [INFO] [stdout] 978 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- `state` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 982 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1033 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^^^^^ use of borrowed `state` [INFO] [stdout] 1034 | machine(&mut cont, (fake_i, ' ')); [INFO] [stdout] | ------- borrow later used here [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` (lib) due to 1 previous error [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/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.8/src/graph_impl/stable_graph/mod.rs:1172:19 [INFO] [stdout] | [INFO] [stdout] 1172 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.8/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1172 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1173 + node.weight.as_ref().map(move |w| (node_index(i), w)) [INFO] [stdout] 1174 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1172 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1173 + node.weight.as_ref().map(move |w| (node_index(i), w)) [INFO] [stdout] 1174 + }) [INFO] [stdout] | [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.4.8/src/graph_impl/stable_graph/mod.rs:1355:19 [INFO] [stdout] | [INFO] [stdout] 1355 | self.iter.find_map(|(i, edge)| [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.8/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1355 ~ Iterator::find_map(&mut self.iter, |(i, edge)| [INFO] [stdout] 1356 + edge.weight.as_ref().map(move |weight| { [INFO] [stdout] 1357 + EdgeReference { [INFO] [stdout] 1358 + index: edge_index(i), [INFO] [stdout] 1359 + node: edge.node, [INFO] [stdout] 1360 + weight: weight, [INFO] [stdout] 1361 + } [INFO] [stdout] 1362 + })) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1355 ~ IterUtilsExt::find_map(&mut self.iter, |(i, edge)| [INFO] [stdout] 1356 + edge.weight.as_ref().map(move |weight| { [INFO] [stdout] 1357 + EdgeReference { [INFO] [stdout] 1358 + index: edge_index(i), [INFO] [stdout] 1359 + node: edge.node, [INFO] [stdout] 1360 + weight: weight, [INFO] [stdout] 1361 + } [INFO] [stdout] 1362 + })) [INFO] [stdout] | [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.4.8/src/graph_impl/stable_graph/mod.rs:1519:19 [INFO] [stdout] | [INFO] [stdout] 1519 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.8/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1519 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1520 + if node.weight.is_some() { [INFO] [stdout] 1521 + Some(node_index(i)) [INFO] [stdout] 1522 + } else { None } [INFO] [stdout] 1523 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1519 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1520 + if node.weight.is_some() { [INFO] [stdout] 1521 + Some(node_index(i)) [INFO] [stdout] 1522 + } else { None } [INFO] [stdout] 1523 + }) [INFO] [stdout] | [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.4.8/src/graph_impl/stable_graph/mod.rs:1565:19 [INFO] [stdout] | [INFO] [stdout] 1565 | self.iter.find_map(|(i, node)| { [INFO] [stdout] | ^^^^^^^^ multiple `find_map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Enumerate` [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `IterUtilsExt` for the type `I` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.8/src/iter_utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / fn find_map(&mut self, mut f: F) -> Option [INFO] [stdout] 6 | | where F: FnMut(Self::Item) -> Option [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1565 ~ Iterator::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1566 + if node.weight.is_some() { [INFO] [stdout] 1567 + Some(edge_index(i)) [INFO] [stdout] 1568 + } else { None } [INFO] [stdout] 1569 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1565 ~ IterUtilsExt::find_map(&mut self.iter, |(i, node)| { [INFO] [stdout] 1566 + if node.weight.is_some() { [INFO] [stdout] 1567 + Some(edge_index(i)) [INFO] [stdout] 1568 + } else { None } [INFO] [stdout] 1569 + }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `petgraph` (lib) due to 4 previous errors [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 1 previous error [INFO] running `Command { std: "docker" "inspect" "622206e2d7b8fe3b49b01e33c6ed688385bc22c0fe4baa8f40279afc18736c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622206e2d7b8fe3b49b01e33c6ed688385bc22c0fe4baa8f40279afc18736c21", kill_on_drop: false }` [INFO] [stdout] 622206e2d7b8fe3b49b01e33c6ed688385bc22c0fe4baa8f40279afc18736c21