[INFO] cloning repository https://github.com/asaaki/hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asaaki/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasaaki%2Fhello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasaaki%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80bb9bbc2aa6a171b96fd74b25f93995575104b0 [INFO] testing asaaki/hello-rust 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%2Fasaaki%2Fhello-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asaaki/hello-rust 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] started tweaking git repo https://github.com/asaaki/hello-rust [INFO] finished tweaking git repo https://github.com/asaaki/hello-rust [INFO] tweaked toml for git repo https://github.com/asaaki/hello-rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/asaaki/hello-rust 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 1cd24086ce8d4ff2632a0d5c6f15b161830890962c952272994213ebef9f72a7 [INFO] running `Command { std: "docker" "start" "-a" "1cd24086ce8d4ff2632a0d5c6f15b161830890962c952272994213ebef9f72a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd24086ce8d4ff2632a0d5c6f15b161830890962c952272994213ebef9f72a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd24086ce8d4ff2632a0d5c6f15b161830890962c952272994213ebef9f72a7", kill_on_drop: false }` [INFO] [stdout] 1cd24086ce8d4ff2632a0d5c6f15b161830890962c952272994213ebef9f72a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 6554adf8ec6e09b2c0b66ab8b26e4f36dde074d8ef9256656d7363539759526d [INFO] running `Command { std: "docker" "start" "-a" "6554adf8ec6e09b2c0b66ab8b26e4f36dde074d8ef9256656d7363539759526d", kill_on_drop: false }` [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/hello.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 6 | / CString::new(message) [INFO] [stdout] 7 | | .unwrap() [INFO] [stdout] | |_____________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 8 | .as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "6554adf8ec6e09b2c0b66ab8b26e4f36dde074d8ef9256656d7363539759526d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6554adf8ec6e09b2c0b66ab8b26e4f36dde074d8ef9256656d7363539759526d", kill_on_drop: false }` [INFO] [stdout] 6554adf8ec6e09b2c0b66ab8b26e4f36dde074d8ef9256656d7363539759526d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f4de93d81d811ed93d456adc099eaccc4687c7374b2c3a48a204c72052a3fbf [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" "3f4de93d81d811ed93d456adc099eaccc4687c7374b2c3a48a204c72052a3fbf", kill_on_drop: false }` [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/hello.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 6 | / CString::new(message) [INFO] [stdout] 7 | | .unwrap() [INFO] [stdout] | |_____________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 8 | .as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] [stderr] Executable unittests src/hello.rs (/opt/rustwide/target/debug/deps/hello-9273a5c302dc29ca) [INFO] running `Command { std: "docker" "inspect" "3f4de93d81d811ed93d456adc099eaccc4687c7374b2c3a48a204c72052a3fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4de93d81d811ed93d456adc099eaccc4687c7374b2c3a48a204c72052a3fbf", kill_on_drop: false }` [INFO] [stdout] 3f4de93d81d811ed93d456adc099eaccc4687c7374b2c3a48a204c72052a3fbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0caf2d4340251e3b5e75f17fdf7c1618dbde9ae39b34cc5387707ae2e7c7581e [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" "0caf2d4340251e3b5e75f17fdf7c1618dbde9ae39b34cc5387707ae2e7c7581e", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/hello.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 6 | / CString::new(message) [INFO] [stderr] 7 | | .unwrap() [INFO] [stderr] | |_____________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] 8 | .as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 0 tests [INFO] [stderr] warning: `hello` (lib test) generated 1 warning [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/hello.rs (/opt/rustwide/target/debug/deps/hello-9273a5c302dc29ca) [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0caf2d4340251e3b5e75f17fdf7c1618dbde9ae39b34cc5387707ae2e7c7581e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0caf2d4340251e3b5e75f17fdf7c1618dbde9ae39b34cc5387707ae2e7c7581e", kill_on_drop: false }` [INFO] [stdout] 0caf2d4340251e3b5e75f17fdf7c1618dbde9ae39b34cc5387707ae2e7c7581e