[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-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolddranks%2Fquack" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/golddranks/quack on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/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-7/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 809a0c3824adb66696e1e684c1eea8da768c0bea719e12717439d93222ac90d2 [INFO] running `Command { std: "docker" "start" "-a" "809a0c3824adb66696e1e684c1eea8da768c0bea719e12717439d93222ac90d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "809a0c3824adb66696e1e684c1eea8da768c0bea719e12717439d93222ac90d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "809a0c3824adb66696e1e684c1eea8da768c0bea719e12717439d93222ac90d2", kill_on_drop: false }` [INFO] [stdout] 809a0c3824adb66696e1e684c1eea8da768c0bea719e12717439d93222ac90d2 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3555e4e95805da1934d7067eb8bed26fdefa1e66b9b89d75ee655646dbdd6d35 [INFO] running `Command { std: "docker" "start" "-a" "3555e4e95805da1934d7067eb8bed26fdefa1e66b9b89d75ee655646dbdd6d35", kill_on_drop: false }` [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 { [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 is never used: `open_for_log` [INFO] [stdout] --> src/os.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn open_for_log(path: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Read` [INFO] [stdout] --> src/os/linux.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Read = 0, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Close` [INFO] [stdout] --> src/os/linux.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Close = 3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/os/linux.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read(fd: Fd, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `probe` [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 is never used: `load` [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: constant is never used: `WR_ONLY` [INFO] [stdout] --> src/os/linux.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub const WR_ONLY: i32 = 0x001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RD_WR` [INFO] [stdout] --> src/os/linux.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub const RD_WR: i32 = 0x002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CREAT` [INFO] [stdout] --> src/os/linux.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub const CREAT: i32 = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APPEND` [INFO] [stdout] --> src/os/linux.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub const APPEND: i32 = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROT_NONE` [INFO] [stdout] --> src/os/linux.rs:157:5 [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 is never used: `PROT_EXEC` [INFO] [stdout] --> src/os/linux.rs:160:5 [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 is never used: `MAP_SHARED` [INFO] [stdout] --> src/os/linux.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub const MAP_SHARED: u32 = 0x0001; /* Share changes. */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAP_FIXED` [INFO] [stdout] --> src/os/linux.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub const MAP_FIXED: u32 = 0x0010; /* Interpret addr exactly. */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAP_ANON` [INFO] [stdout] --> src/os/linux.rs:167:5 [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: 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: `#[warn(unused_must_use)]` on by default [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: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: "cc" "-m64" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-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,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/quack-0fd66a6ee8aaf82c.quack.6006bef4-cgu.6.rcgu.o: in function `_start': [INFO] [stdout] quack.6006bef4-cgu.6:(.text+0x0): multiple definition of `_start'; /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': [INFO] [stdout] (.text+0x16): undefined reference to `__libc_csu_fini' [INFO] [stdout] /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init' [INFO] [stdout] /usr/bin/ld: (.text+0x24): undefined reference to `main' [INFO] [stdout] /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quack` due to 2 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3555e4e95805da1934d7067eb8bed26fdefa1e66b9b89d75ee655646dbdd6d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3555e4e95805da1934d7067eb8bed26fdefa1e66b9b89d75ee655646dbdd6d35", kill_on_drop: false }` [INFO] [stdout] 3555e4e95805da1934d7067eb8bed26fdefa1e66b9b89d75ee655646dbdd6d35