[INFO] cloning repository https://github.com/Friedrich42/os-learning1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Friedrich42/os-learning1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFriedrich42%2Fos-learning1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFriedrich42%2Fos-learning1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2b8773fe113576ec7b3fc5be0e999d2cd2ad037 [INFO] testing Friedrich42/os-learning1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFriedrich42%2Fos-learning1" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Friedrich42/os-learning1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/Friedrich42/os-learning1 [INFO] finished tweaking git repo https://github.com/Friedrich42/os-learning1 [INFO] tweaked toml for git repo https://github.com/Friedrich42/os-learning1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Friedrich42/os-learning1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69a172680e1e1c664b2cd0d2c62e5c21856035a9c270c9f3636175080089adf1 [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" "69a172680e1e1c664b2cd0d2c62e5c21856035a9c270c9f3636175080089adf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69a172680e1e1c664b2cd0d2c62e5c21856035a9c270c9f3636175080089adf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a172680e1e1c664b2cd0d2c62e5c21856035a9c270c9f3636175080089adf1", kill_on_drop: false }` [INFO] [stdout] 69a172680e1e1c664b2cd0d2c62e5c21856035a9c270c9f3636175080089adf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a53d10d319afa184bc1bf78ff004888573950751cc65ec0e97b9f780a24b6a3c [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" "a53d10d319afa184bc1bf78ff004888573950751cc65ec0e97b9f780a24b6a3c", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling volatile v0.2.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling project1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | panic!("Fuck the world"); [INFO] [stdout] | ------------------------- any code following this expression is unreachable [INFO] [stdout] 24 | [INFO] [stdout] 25 | loop {} [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-63fcdb5dcf52087e.rlib" "/opt/rustwide/target/debug/deps/libspin-95ac90917f360d31.rlib" "/opt/rustwide/target/debug/deps/libvolatile-4d05b93ec8397c6b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/project1-1291afc7fd559c0a.project1.8uqroxgb-cgu.4.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:17: 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `project1`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a53d10d319afa184bc1bf78ff004888573950751cc65ec0e97b9f780a24b6a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53d10d319afa184bc1bf78ff004888573950751cc65ec0e97b9f780a24b6a3c", kill_on_drop: false }` [INFO] [stdout] a53d10d319afa184bc1bf78ff004888573950751cc65ec0e97b9f780a24b6a3c