[INFO] updating cached 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" "-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] f1069b2ce9d8503abf3340083a51e91db2893b4c [INFO] testing Jim-Holmstroem/joust against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJim-Holmstroem%2Fjoust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jim-Holmstroem/joust on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-6/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" "+1.45.2" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4993cbabf3cd47314a5cab2a8945e6f4beccd53e283405f6a0c8af05d12d951f [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" "4993cbabf3cd47314a5cab2a8945e6f4beccd53e283405f6a0c8af05d12d951f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4993cbabf3cd47314a5cab2a8945e6f4beccd53e283405f6a0c8af05d12d951f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4993cbabf3cd47314a5cab2a8945e6f4beccd53e283405f6a0c8af05d12d951f", kill_on_drop: false }` [INFO] [stdout] 4993cbabf3cd47314a5cab2a8945e6f4beccd53e283405f6a0c8af05d12d951f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 213066af17770a74b3e0b01ea1c510aced16d690fd31651736fb6f240f7f7e2a [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" "213066af17770a74b3e0b01ea1c510aced16d690fd31651736fb6f240f7f7e2a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling 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] 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] running `Command { std: "docker" "inspect" "213066af17770a74b3e0b01ea1c510aced16d690fd31651736fb6f240f7f7e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213066af17770a74b3e0b01ea1c510aced16d690fd31651736fb6f240f7f7e2a", kill_on_drop: false }` [INFO] [stdout] 213066af17770a74b3e0b01ea1c510aced16d690fd31651736fb6f240f7f7e2a