[INFO] cloning repository https://github.com/Jim-Holmstroem/joust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jim-Holmstroem/joust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJim-Holmstroem%2Fjoust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJim-Holmstroem%2Fjoust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1069b2ce9d8503abf3340083a51e91db2893b4c [INFO] checking Jim-Holmstroem/joust against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJim-Holmstroem%2Fjoust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jim-Holmstroem/joust on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jim-Holmstroem/joust [INFO] finished tweaking git repo https://github.com/Jim-Holmstroem/joust [INFO] tweaked toml for git repo https://github.com/Jim-Holmstroem/joust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Jim-Holmstroem/joust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", 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] 5925dd71669cb555a3b16dd9bc672e290011def78942a150902f904e1305d8fd [INFO] running `Command { std: "docker" "start" "-a" "5925dd71669cb555a3b16dd9bc672e290011def78942a150902f904e1305d8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5925dd71669cb555a3b16dd9bc672e290011def78942a150902f904e1305d8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5925dd71669cb555a3b16dd9bc672e290011def78942a150902f904e1305d8fd", kill_on_drop: false }` [INFO] [stdout] 5925dd71669cb555a3b16dd9bc672e290011def78942a150902f904e1305d8fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9f9bd50a2242ce68fe17db3604c0397013aa8d0ceb1d8e6d33d72957ce625e3 [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" "f9f9bd50a2242ce68fe17db3604c0397013aa8d0ceb1d8e6d33d72957ce625e3", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam v0.7.1 [INFO] [stderr] Checking joust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stdout] --> src/main.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 78 | | s.send(self.reader.read_line(&mut output)).unwrap(); [INFO] [stdout] 79 | | //s.send(output).unwrap(); [INFO] [stdout] 80 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 70:5... [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / fn act(&mut self, input: String) -> io::Result { [INFO] [stdout] 71 | | self.writer.write_all(input.as_bytes())?; [INFO] [stdout] 72 | | self.writer.flush()?; [INFO] [stdout] 73 | | [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok("".to_string()) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/main.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 78 | | s.send(self.reader.read_line(&mut output)).unwrap(); [INFO] [stdout] 79 | | //s.send(output).unwrap(); [INFO] [stdout] 80 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: expected `&mut Program` [INFO] [stdout] found `&mut Program` [INFO] [stdout] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stdout] note: ...so that the type `[closure@src/main.rs:77:23: 80:10 s:crossbeam::Sender>, self:&mut Program, output:std::string::String]` will meet its required lifetime bounds [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: could not compile `joust`. [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[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stdout] --> src/main.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 78 | | s.send(self.reader.read_line(&mut output)).unwrap(); [INFO] [stdout] 79 | | //s.send(output).unwrap(); [INFO] [stdout] 80 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 70:5... [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / fn act(&mut self, input: String) -> io::Result { [INFO] [stdout] 71 | | self.writer.write_all(input.as_bytes())?; [INFO] [stdout] 72 | | self.writer.flush()?; [INFO] [stdout] 73 | | [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok("".to_string()) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/main.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 78 | | s.send(self.reader.read_line(&mut output)).unwrap(); [INFO] [stdout] 79 | | //s.send(output).unwrap(); [INFO] [stdout] 80 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: expected `&mut Program` [INFO] [stdout] found `&mut Program` [INFO] [stdout] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stdout] note: ...so that the type `[closure@src/main.rs:77:23: 80:10 s:crossbeam::Sender>, self:&mut Program, output:std::string::String]` will meet its required lifetime bounds [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f9f9bd50a2242ce68fe17db3604c0397013aa8d0ceb1d8e6d33d72957ce625e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f9bd50a2242ce68fe17db3604c0397013aa8d0ceb1d8e6d33d72957ce625e3", kill_on_drop: false }` [INFO] [stdout] f9f9bd50a2242ce68fe17db3604c0397013aa8d0ceb1d8e6d33d72957ce625e3