[INFO] fetching crate ffi-std 0.1.0... [INFO] checking ffi-std-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ffi-std 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ffi-std 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ffi-std 0.1.0 [INFO] finished tweaking crates.io crate ffi-std 0.1.0 [INFO] tweaked toml for crates.io crate ffi-std 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b4f786f21551ce1e61aeaa4779cfba4e14118a952c0bb2f9441e57601142d65 [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" "1b4f786f21551ce1e61aeaa4779cfba4e14118a952c0bb2f9441e57601142d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b4f786f21551ce1e61aeaa4779cfba4e14118a952c0bb2f9441e57601142d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b4f786f21551ce1e61aeaa4779cfba4e14118a952c0bb2f9441e57601142d65", kill_on_drop: false }` [INFO] [stdout] 1b4f786f21551ce1e61aeaa4779cfba4e14118a952c0bb2f9441e57601142d65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a55a038c23b29107eefc0dff221df81776ad6a79cff9b20a76c213b362a6f9c [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" "3a55a038c23b29107eefc0dff221df81776ad6a79cff9b20a76c213b362a6f9c", kill_on_drop: false }` [INFO] [stderr] Checking ffi-std v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/lib.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub const unsafe fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/lib.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub const unsafe fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `transmute` is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | std::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53605 for more information [INFO] [stdout] = help: add `#![feature(const_fn_transmute)]` to the crate attributes to enable [INFO] [stdout] = note: `transmute` is only allowed in constants and statics for now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/lib.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub const unsafe fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/lib.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub const unsafe fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `transmute` is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | std::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53605 for more information [INFO] [stdout] = help: add `#![feature(const_fn_transmute)]` to the crate attributes to enable [INFO] [stdout] = note: `transmute` is only allowed in constants and statics for now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi-std` [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3a55a038c23b29107eefc0dff221df81776ad6a79cff9b20a76c213b362a6f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a55a038c23b29107eefc0dff221df81776ad6a79cff9b20a76c213b362a6f9c", kill_on_drop: false }` [INFO] [stdout] 3a55a038c23b29107eefc0dff221df81776ad6a79cff9b20a76c213b362a6f9c