[INFO] cloning repository https://github.com/ls1-sys-prog-course/task5-memory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ls1-sys-prog-course/task5-memory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fls1-sys-prog-course%2Ftask5-memory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fls1-sys-prog-course%2Ftask5-memory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6848921ee3e0572f049f1415e6c43457887aa854 [INFO] checking ls1-sys-prog-course/task5-memory against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fls1-sys-prog-course%2Ftask5-memory" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ls1-sys-prog-course/task5-memory on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ls1-sys-prog-course/task5-memory [INFO] finished tweaking git repo https://github.com/ls1-sys-prog-course/task5-memory [INFO] tweaked toml for git repo https://github.com/ls1-sys-prog-course/task5-memory written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ls1-sys-prog-course/task5-memory already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12ccb778d01d269ce6940342c8f6fcc79a1ca2fe0dd502f3df36e42fcc78ee1d [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" "12ccb778d01d269ce6940342c8f6fcc79a1ca2fe0dd502f3df36e42fcc78ee1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12ccb778d01d269ce6940342c8f6fcc79a1ca2fe0dd502f3df36e42fcc78ee1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ccb778d01d269ce6940342c8f6fcc79a1ca2fe0dd502f3df36e42fcc78ee1d", kill_on_drop: false }` [INFO] [stdout] 12ccb778d01d269ce6940342c8f6fcc79a1ca2fe0dd502f3df36e42fcc78ee1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97f5953f5d851b1210daf01070e457e3b66617ace8ad02116abdc6ce5c8dd25c [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" "97f5953f5d851b1210daf01070e457e3b66617ace8ad02116abdc6ce5c8dd25c", kill_on_drop: false }` [INFO] [stderr] Checking mymalloc v0.0.1 (/opt/rustwide/workdir/mymalloc) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> mymalloc/src/lib.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub unsafe extern "C" fn malloc(size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> mymalloc/src/lib.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe extern "C" fn free(p: *mut libc::c_void) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nobj` [INFO] [stdout] --> mymalloc/src/lib.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub unsafe extern "C" fn calloc(nobj: libc::size_t, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nobj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> mymalloc/src/lib.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | pub unsafe extern "C" fn calloc(nobj: libc::size_t, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> mymalloc/src/lib.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe extern "C" fn realloc(p: *mut libc::c_void, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> mymalloc/src/lib.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe extern "C" fn realloc(p: *mut libc::c_void, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> mymalloc/src/lib.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub unsafe extern "C" fn malloc(size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> mymalloc/src/lib.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe extern "C" fn free(p: *mut libc::c_void) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nobj` [INFO] [stdout] --> mymalloc/src/lib.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub unsafe extern "C" fn calloc(nobj: libc::size_t, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nobj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> mymalloc/src/lib.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | pub unsafe extern "C" fn calloc(nobj: libc::size_t, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> mymalloc/src/lib.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe extern "C" fn realloc(p: *mut libc::c_void, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> mymalloc/src/lib.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe extern "C" fn realloc(p: *mut libc::c_void, size: libc::size_t) -> *mut libc::c_void { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "97f5953f5d851b1210daf01070e457e3b66617ace8ad02116abdc6ce5c8dd25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f5953f5d851b1210daf01070e457e3b66617ace8ad02116abdc6ce5c8dd25c", kill_on_drop: false }` [INFO] [stdout] 97f5953f5d851b1210daf01070e457e3b66617ace8ad02116abdc6ce5c8dd25c