[INFO] fetching crate tomcrypt 0.1.0... [INFO] checking tomcrypt-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate tomcrypt 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tomcrypt 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tomcrypt 0.1.0 [INFO] finished tweaking crates.io crate tomcrypt 0.1.0 [INFO] tweaked toml for crates.io crate tomcrypt 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ec4dc73941fbffccb241ab56f943d7bd9a7f931a43dd4033802bb350713fa4 [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" "b4ec4dc73941fbffccb241ab56f943d7bd9a7f931a43dd4033802bb350713fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ec4dc73941fbffccb241ab56f943d7bd9a7f931a43dd4033802bb350713fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ec4dc73941fbffccb241ab56f943d7bd9a7f931a43dd4033802bb350713fa4", kill_on_drop: false }` [INFO] [stdout] b4ec4dc73941fbffccb241ab56f943d7bd9a7f931a43dd4033802bb350713fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afd4cb76d3116156427d11657b5d5bd4d913c0e11b8956ed65c0fc211458718f [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" "afd4cb76d3116156427d11657b5d5bd4d913c0e11b8956ed65c0fc211458718f", kill_on_drop: false }` [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling tomcrypt-sys v0.1.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking tomcrypt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | #[allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | #[allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let mut k = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | let mut res = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | let mut k = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / error_chain! { [INFO] [stdout] 43 | | foreign_links { [INFO] [stdout] 44 | | Io(::std::io::Error); [INFO] [stdout] 45 | | } [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let mut k = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | let mut res = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | let mut k = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / error_chain! { [INFO] [stdout] 43 | | foreign_links { [INFO] [stdout] 44 | | Io(::std::io::Error); [INFO] [stdout] 45 | | } [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / error_chain! { [INFO] [stdout] 43 | | foreign_links { [INFO] [stdout] 44 | | Io(::std::io::Error); [INFO] [stdout] 45 | | } [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:268:55 [INFO] [stdout] | [INFO] [stdout] 268 | ffi::find_prng(CString::new("sprng").unwrap().as_ptr()) [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:286:60 [INFO] [stdout] | [INFO] [stdout] 286 | ffi::find_cipher(CString::new("rijndael").unwrap().as_ptr()) [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / error_chain! { [INFO] [stdout] 43 | | foreign_links { [INFO] [stdout] 44 | | Io(::std::io::Error); [INFO] [stdout] 45 | | } [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:268:55 [INFO] [stdout] | [INFO] [stdout] 268 | ffi::find_prng(CString::new("sprng").unwrap().as_ptr()) [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:286:60 [INFO] [stdout] | [INFO] [stdout] 286 | ffi::find_cipher(CString::new("rijndael").unwrap().as_ptr()) [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.82s [INFO] running `Command { std: "docker" "inspect" "afd4cb76d3116156427d11657b5d5bd4d913c0e11b8956ed65c0fc211458718f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd4cb76d3116156427d11657b5d5bd4d913c0e11b8956ed65c0fc211458718f", kill_on_drop: false }` [INFO] [stdout] afd4cb76d3116156427d11657b5d5bd4d913c0e11b8956ed65c0fc211458718f