[INFO] cloning repository https://github.com/tari/merthc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tari/merthc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fmerthc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fmerthc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7535a21a1aa1761c0cc559a4b91cbc8598776d0e [INFO] building tari/merthc against try#0c94de7c1a8f4b82b92d562847c35f513f520c7a for pr-102832-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fmerthc" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tari/merthc on toolchain 0c94de7c1a8f4b82b92d562847c35f513f520c7a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tari/merthc [INFO] finished tweaking git repo https://github.com/tari/merthc [INFO] tweaked toml for git repo https://github.com/tari/merthc written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/tari/merthc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0d4bfb7cf07dfd31069c519b1cbdaf9c57efe36d539552fad66e0e18c5c51ac [INFO] running `Command { std: "docker" "start" "-a" "d0d4bfb7cf07dfd31069c519b1cbdaf9c57efe36d539552fad66e0e18c5c51ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0d4bfb7cf07dfd31069c519b1cbdaf9c57efe36d539552fad66e0e18c5c51ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d4bfb7cf07dfd31069c519b1cbdaf9c57efe36d539552fad66e0e18c5c51ac", kill_on_drop: false }` [INFO] [stdout] d0d4bfb7cf07dfd31069c519b1cbdaf9c57efe36d539552fad66e0e18c5c51ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ccdd8869593d3f6f2fcd6bafc359adb2c090374f9d565ec4d8fd8c1b9505e73 [INFO] running `Command { std: "docker" "start" "-a" "5ccdd8869593d3f6f2fcd6bafc359adb2c090374f9d565ec4d8fd8c1b9505e73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling merthc v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling docopt v0.7.0 [INFO] [stderr] Compiling env_logger v0.4.2 [INFO] [stderr] Compiling llvm-sys v40.0.1 [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(PartialEq, Eq, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:556:25 [INFO] [stdout] | [INFO] [stdout] 556 | let mut llmod = try!(module_from_blob(ctxt, irmod)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:570:25 [INFO] [stdout] | [INFO] [stdout] 570 | let mut target_rt = try!(module_from_blob(ctxt, target_rt_source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:371:46 [INFO] [stdout] | [INFO] [stdout] 371 | let mut module: LLVMModuleRef = 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/main.rs:372:41 [INFO] [stdout] | [INFO] [stdout] 372 | let mut err_msg: *mut i8 = 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/main.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | let mut target = 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/main.rs:509:50 [INFO] [stdout] | [INFO] [stdout] 509 | let mut mbuf: LLVMMemoryBufferRef = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let mut infile: Box = match inpath { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | let mut infile: Box = match inpath { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMModule` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:371:41 [INFO] [stdout] | [INFO] [stdout] 371 | let mut module: LLVMModuleRef = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:372:36 [INFO] [stdout] | [INFO] [stdout] 372 | let mut err_msg: *mut i8 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMTarget` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:499:26 [INFO] [stdout] | [INFO] [stdout] 499 | let mut target = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMMemoryBuffer` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:509:45 [INFO] [stdout] | [INFO] [stdout] 509 | let mut mbuf: LLVMMemoryBufferRef = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.57s [INFO] running `Command { std: "docker" "inspect" "5ccdd8869593d3f6f2fcd6bafc359adb2c090374f9d565ec4d8fd8c1b9505e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ccdd8869593d3f6f2fcd6bafc359adb2c090374f9d565ec4d8fd8c1b9505e73", kill_on_drop: false }` [INFO] [stdout] 5ccdd8869593d3f6f2fcd6bafc359adb2c090374f9d565ec4d8fd8c1b9505e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c28e5b99664482ead314e7ef70c4d45089f25c195440bef8fe41a718b5700f6 [INFO] running `Command { std: "docker" "start" "-a" "5c28e5b99664482ead314e7ef70c4d45089f25c195440bef8fe41a718b5700f6", kill_on_drop: false }` [INFO] [stderr] Compiling merthc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(PartialEq, Eq, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:556:25 [INFO] [stdout] | [INFO] [stdout] 556 | let mut llmod = try!(module_from_blob(ctxt, irmod)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:570:25 [INFO] [stdout] | [INFO] [stdout] 570 | let mut target_rt = try!(module_from_blob(ctxt, target_rt_source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:371:46 [INFO] [stdout] | [INFO] [stdout] 371 | let mut module: LLVMModuleRef = 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/main.rs:372:41 [INFO] [stdout] | [INFO] [stdout] 372 | let mut err_msg: *mut i8 = 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/main.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | let mut target = 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/main.rs:509:50 [INFO] [stdout] | [INFO] [stdout] 509 | let mut mbuf: LLVMMemoryBufferRef = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let mut infile: Box = match inpath { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | let mut infile: Box = match inpath { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMModule` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:371:41 [INFO] [stdout] | [INFO] [stdout] 371 | let mut module: LLVMModuleRef = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:372:36 [INFO] [stdout] | [INFO] [stdout] 372 | let mut err_msg: *mut i8 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMTarget` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:499:26 [INFO] [stdout] | [INFO] [stdout] 499 | let mut target = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMMemoryBuffer` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:509:45 [INFO] [stdout] | [INFO] [stdout] 509 | let mut mbuf: LLVMMemoryBufferRef = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must not be uninitialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "5c28e5b99664482ead314e7ef70c4d45089f25c195440bef8fe41a718b5700f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c28e5b99664482ead314e7ef70c4d45089f25c195440bef8fe41a718b5700f6", kill_on_drop: false }` [INFO] [stdout] 5c28e5b99664482ead314e7ef70c4d45089f25c195440bef8fe41a718b5700f6