[INFO] cloning repository https://github.com/ramn/piston-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ramn/piston-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framn%2Fpiston-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framn%2Fpiston-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bae4369148d759545e99c14aa61ed1adc6b40d7 [INFO] checking ramn/piston-tutorial against try#6757d700f93f6d16c8b39cf79e96b019bd570e7d for pr-155299-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framn%2Fpiston-tutorial" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ramn/piston-tutorial [INFO] finished tweaking git repo https://github.com/ramn/piston-tutorial [INFO] tweaked toml for git repo https://github.com/ramn/piston-tutorial written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ramn/piston-tutorial on toolchain 6757d700f93f6d16c8b39cf79e96b019bd570e7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ramn/piston-tutorial 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" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a1a8ab44559d032de4a31ff95f403b5cdc9525080a3a8de711c9e63478b3274 [INFO] running `Command { std: "docker" "start" "-a" "6a1a8ab44559d032de4a31ff95f403b5cdc9525080a3a8de711c9e63478b3274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a1a8ab44559d032de4a31ff95f403b5cdc9525080a3a8de711c9e63478b3274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1a8ab44559d032de4a31ff95f403b5cdc9525080a3a8de711c9e63478b3274", kill_on_drop: false }` [INFO] [stdout] 6a1a8ab44559d032de4a31ff95f403b5cdc9525080a3a8de711c9e63478b3274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6a1570f57bd9a3a937af2a84897582b0cfb6f383d62d178102c6a5bacf39fc2 [INFO] running `Command { std: "docker" "start" "-a" "d6a1570f57bd9a3a937af2a84897582b0cfb6f383d62d178102c6a5bacf39fc2", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking libc v0.2.5 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Compiling gcc v0.3.21 [INFO] [stderr] Checking rustc-serialize v0.3.16 [INFO] [stderr] Checking lazy_static v0.1.15 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Compiling libloading v0.2.1 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.6 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling xml-rs v0.1.26 [INFO] [stderr] Compiling xml-rs v0.2.2 [INFO] [stderr] Checking draw_state v0.2.0 [INFO] [stderr] Compiling log v0.3.5 [INFO] [stderr] Compiling kernel32-sys 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.16/src/serialize.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Compiling khronos_api v0.0.8 [INFO] [stderr] Checking crossbeam v0.1.6 [INFO] [stderr] Checking gl_common v0.1.0 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking lzw v0.9.0 [INFO] [stderr] Checking shader_version v0.2.1 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking inflate v0.1.0 [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.16/src/serialize.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | 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/6757d700f93f6d16c8b39cf79e96b019bd570e7d/library/alloc/src/borrow.rs:169:29 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking shared_library v0.1.2 [INFO] [stderr] Checking dylib v0.0.1 [INFO] [stderr] Checking piston-texture v0.3.0 [INFO] [stderr] Checking fs2 v0.2.2 [INFO] [stderr] Checking glob v0.2.10 [INFO] [stderr] Checking osmesa-sys v0.0.5 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Checking gif v0.7.0 [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-0.1.6/src/sync/seg_queue.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | ready: unsafe { mem::transmute([0usize; SEG_SIZE]) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `[usize; 32]` (2048 bits) [INFO] [stdout] = note: target type: `[std::sync::atomic::Atomic; 32]` (256 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Checking x11-dl v2.2.1 [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crossbeam` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fs2-0.2.2/src/unix.rs:63:67 [INFO] [stdout] | [INFO] [stdout] 63 | let ret = unsafe { libc::posix_fallocate(file.as_raw_fd(), 0, len as off_t) }; [INFO] [stdout] | --------------------- ^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.5/src/unix/notbsd/linux/mod.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn posix_fallocate(fd: ::c_int, offset: ::off_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 63 | let ret = unsafe { libc::posix_fallocate(file.as_raw_fd(), 0, (len as off_t).try_into().unwrap()) }; [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fs2` (lib) due to 1 previous error [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" "d6a1570f57bd9a3a937af2a84897582b0cfb6f383d62d178102c6a5bacf39fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a1570f57bd9a3a937af2a84897582b0cfb6f383d62d178102c6a5bacf39fc2", kill_on_drop: false }` [INFO] [stdout] d6a1570f57bd9a3a937af2a84897582b0cfb6f383d62d178102c6a5bacf39fc2