[INFO] cloning repository https://github.com/golddranks/quack
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/golddranks/quack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolddranks%2Fquack", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolddranks%2Fquack'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5ed502163ca81321f7537cf57b396c0ddcef136
[INFO] testing golddranks/quack against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolddranks%2Fquack" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/golddranks/quack on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/golddranks/quack
[INFO] finished tweaking git repo https://github.com/golddranks/quack
[INFO] tweaked toml for git repo https://github.com/golddranks/quack written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/golddranks/quack 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d444eec9fb36b9b77515c73bec5173d6d96d088ca29c8c0a2a0e37587351d991
[INFO] running `Command { std: "docker" "start" "-a" "d444eec9fb36b9b77515c73bec5173d6d96d088ca29c8c0a2a0e37587351d991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d444eec9fb36b9b77515c73bec5173d6d96d088ca29c8c0a2a0e37587351d991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d444eec9fb36b9b77515c73bec5173d6d96d088ca29c8c0a2a0e37587351d991", kill_on_drop: false }`
[INFO] [stdout] d444eec9fb36b9b77515c73bec5173d6d96d088ca29c8c0a2a0e37587351d991
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9ca61c65617701a2fb92dc5ae6b52be3a234c8e308d3d5cb8f497e47d67e1b4
[INFO] running `Command { std: "docker" "start" "-a" "b9ca61c65617701a2fb92dc5ae6b52be3a234c8e308d3d5cb8f497e47d67e1b4", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling quack v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/elf/load.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{os::{self, STDERR, Args}, elf::parse::ProgHead, error};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/os/linux.rs:170:75
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub fn mmap(addr: *const c_void, len: i64, prot: u32, flags: u32, fd: Fd, offset: u64) -> Result<MappedFile, Error> {
[INFO] [stdout]     |                                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/elf/load.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn load(phs: &[impl ProgHead], buf: &[u8]) {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_for_log` is never used
[INFO] [stdout]    --> src/os.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub fn open_for_log(path: impl AsRef<[u8]>) -> Result<Fd, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Read` and `Close` are never constructed
[INFO] [stdout]   --> src/os/linux.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Syscall {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 18 |     Read = 0,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     Close = 3,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read` is never used
[INFO] [stdout]   --> src/os/linux.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn read(fd: Fd, buf: &mut [u8]) -> Result<usize, Error> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WR_ONLY` is never used
[INFO] [stdout]   --> src/os/linux.rs:85:15
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub const WR_ONLY: i32 = 0x001;
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RD_WR` is never used
[INFO] [stdout]   --> src/os/linux.rs:86:15
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub const RD_WR: i32 = 0x002;
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CREAT` is never used
[INFO] [stdout]   --> src/os/linux.rs:87:15
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub const CREAT: i32 = 0x100;
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `APPEND` is never used
[INFO] [stdout]   --> src/os/linux.rs:88:15
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub const APPEND: i32 = 0x2000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROT_NONE` is never used
[INFO] [stdout]    --> src/os/linux.rs:157:15
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub const PROT_NONE: u32 =  0x00;    /* Page can not be accessed.  */
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROT_EXEC` is never used
[INFO] [stdout]    --> src/os/linux.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub const PROT_EXEC: u32 =  0x04;    /* Page can be executed.  */
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAP_SHARED` is never used
[INFO] [stdout]    --> src/os/linux.rs:164:15
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub const MAP_SHARED: u32 =  0x0001;    /* Share changes.  */
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAP_FIXED` is never used
[INFO] [stdout]    --> src/os/linux.rs:166:15
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub const MAP_FIXED: u32 = 0x0010;      /* Interpret addr exactly.  */
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAP_ANON` is never used
[INFO] [stdout]    --> src/os/linux.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub const MAP_ANON: u32 =  0x0020;      /* Don't use a file.  */
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `probe` is never used
[INFO] [stdout]  --> src/elf/load.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn probe() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load` is never used
[INFO] [stdout]   --> src/elf/load.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn load(phs: &[impl ProgHead], buf: &[u8]) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `OpenMode` should have a snake case name
[INFO] [stdout]   --> src/os/linux.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub mod OpenMode {
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `open_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/elf/load.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     writeln!(STDERR, "{:x?}", x);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/elf/load.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     writeln!(STDERR, "{:x?}", probe as fn() as u64);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/elf/load.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     writeln!(STDERR, "main: {:x?}", crate::main as fn(Args) -> Result<(), error::Error> as u64);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/elf/load.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             writeln!(STDERR, "what the hell {:?} {:?}", range_to_be_loaded, prog_count);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/elf/load.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             writeln!(STDERR, "hell yeah {:?} {:?}", range_to_be_loaded, prog_count);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustccjRP8b/symbols.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e60518d2760eb01e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1ad943f92a4b1081.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f0d6e4d0fc1e80b4.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.2663a215-cgu.10.rcgu.o: in function `_start':
[INFO] [stdout]           quack.2663a215-cgu.10:(.text+0x0): multiple definition of `_start'; /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here
[INFO] [stdout]           /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
[INFO] [stdout]           (.text+0x1b): undefined reference to `main'
[INFO] [stdout]           /usr/bin/ld: (.text+0x21): undefined reference to `__libc_start_main'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quack` (bin "quack") due to 2 previous errors; 23 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b9ca61c65617701a2fb92dc5ae6b52be3a234c8e308d3d5cb8f497e47d67e1b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9ca61c65617701a2fb92dc5ae6b52be3a234c8e308d3d5cb8f497e47d67e1b4", kill_on_drop: false }`
[INFO] [stdout] b9ca61c65617701a2fb92dc5ae6b52be3a234c8e308d3d5cb8f497e47d67e1b4
