[INFO] cloning repository https://github.com/jDomantas/tic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jDomantas/tic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjDomantas%2Ftic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjDomantas%2Ftic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b8b1ccc1bc53a2ef81892f64afbbc29788e7740 [INFO] checking jDomantas/tic against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjDomantas%2Ftic" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jDomantas/tic on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jDomantas/tic [INFO] finished tweaking git repo https://github.com/jDomantas/tic [INFO] tweaked toml for git repo https://github.com/jDomantas/tic written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jDomantas/tic 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ea9b8503889a1a894d020efcc3b5816c54ce760709e70f892a844264ea6bfda [INFO] running `Command { std: "docker" "start" "-a" "7ea9b8503889a1a894d020efcc3b5816c54ce760709e70f892a844264ea6bfda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ea9b8503889a1a894d020efcc3b5816c54ce760709e70f892a844264ea6bfda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea9b8503889a1a894d020efcc3b5816c54ce760709e70f892a844264ea6bfda", kill_on_drop: false }` [INFO] [stdout] 7ea9b8503889a1a894d020efcc3b5816c54ce760709e70f892a844264ea6bfda [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3176ecefe98e5b4064543d78c638d36730440a3100dc42c06607f67fa2af3e4 [INFO] running `Command { std: "docker" "start" "-a" "b3176ecefe98e5b4064543d78c638d36730440a3100dc42c06607f67fa2af3e4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Checking formatter v0.1.0 (/opt/rustwide/workdir/formatter) [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking internal-iterator v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking ticc-core v0.1.0 (/opt/rustwide/workdir/ticc-core) [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking ticc-syntax v0.1.0 (/opt/rustwide/workdir/ticc-syntax) [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking ticc-eval v0.1.0 (/opt/rustwide/workdir/ticc-eval) [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking ticc v0.1.0 (/opt/rustwide/workdir/ticc) [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> ticc/src/api/tokens.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | .flat_map(|item| item.syntax.tree.root().descendant_elements()) [INFO] [stdout] | -----------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> ticc/src/api/tokens.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | .flat_map(|item| item.syntax.tree.root().descendant_elements()) [INFO] [stdout] | -----------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `node` [INFO] [stdout] --> ticc/src/compiler/syntax.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn children<'a, T: AstNode<'a>>(node: &SyntaxNode<'a>) -> impl Iterator + 'a { [INFO] [stdout] | --------------- help: add explicit lifetime `'a` to the type of `node`: `&'a SyntaxNode<'a>` [INFO] [stdout] 19 | node.children().filter_map(|c| T::cast(c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `node` [INFO] [stdout] --> ticc/src/compiler/syntax.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn children<'a, T: AstNode<'a>>(node: &SyntaxNode<'a>) -> impl Iterator + 'a { [INFO] [stdout] | --------------- help: add explicit lifetime `'a` to the type of `node`: `&'a SyntaxNode<'a>` [INFO] [stdout] 19 | node.children().filter_map(|c| T::cast(c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0621. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ticc` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0621. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ticc` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b3176ecefe98e5b4064543d78c638d36730440a3100dc42c06607f67fa2af3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3176ecefe98e5b4064543d78c638d36730440a3100dc42c06607f67fa2af3e4", kill_on_drop: false }` [INFO] [stdout] b3176ecefe98e5b4064543d78c638d36730440a3100dc42c06607f67fa2af3e4