[INFO] cloning repository https://github.com/Idolf/syscall-challenge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Idolf/syscall-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIdolf%2Fsyscall-challenge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIdolf%2Fsyscall-challenge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec63f361e67560791d5209106eeac6ea40df8023
[INFO] testing Idolf/syscall-challenge against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIdolf%2Fsyscall-challenge" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Idolf/syscall-challenge on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Idolf/syscall-challenge
[INFO] finished tweaking git repo https://github.com/Idolf/syscall-challenge
[INFO] tweaked toml for git repo https://github.com/Idolf/syscall-challenge written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Idolf/syscall-challenge 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/Idolf/nix.git`
[INFO] [stderr]     Updating git repository `https://github.com/rust-lang/libc`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cfg-if v0.1.0
[INFO] [stderr]   Downloaded lazy_static v0.2.2
[INFO] [stderr]   Downloaded uuid v0.3.1
[INFO] [stderr]   Downloaded rustc-serialize v0.3.22
[INFO] [stderr]   Downloaded bincode v0.6.1
[INFO] [stderr]   Downloaded byteorder v1.0.0
[INFO] [stderr]   Downloaded ipc-channel v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d2cde6a601419ea29f939ef03f2dfa9ce4c96e67c09600c3af767200fdb03d85
[INFO] running `Command { std: "docker" "start" "-a" "d2cde6a601419ea29f939ef03f2dfa9ce4c96e67c09600c3af767200fdb03d85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2cde6a601419ea29f939ef03f2dfa9ce4c96e67c09600c3af767200fdb03d85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2cde6a601419ea29f939ef03f2dfa9ce4c96e67c09600c3af767200fdb03d85", kill_on_drop: false }`
[INFO] [stdout] d2cde6a601419ea29f939ef03f2dfa9ce4c96e67c09600c3af767200fdb03d85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e6528ee90c3b96dc3150dba3d2525bd2bd504a1cd2fe1f3fa372804958c52fc
[INFO] running `Command { std: "docker" "start" "-a" "7e6528ee90c3b96dc3150dba3d2525bd2bd504a1cd2fe1f3fa372804958c52fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.20
[INFO] [stderr]    Compiling num-traits v0.1.36
[INFO] [stderr]    Compiling serde v0.8.23
[INFO] [stderr]    Compiling rustc-serialize v0.3.22
[INFO] [stderr]    Compiling byteorder v1.0.0
[INFO] [stderr]    Compiling lazy_static v0.2.2
[INFO] [stderr]    Compiling cfg-if v0.1.0
[INFO] [stderr]    Compiling libc v0.2.20 (https://github.com/rust-lang/libc#bce927b3)
[INFO] [stderr]    Compiling nix v0.8.0 (https://github.com/Idolf/nix.git?branch=ptrace-stuff#65f0d512)
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling uuid v0.3.1
[INFO] [stderr]    Compiling bincode v0.6.1
[INFO] [stderr]    Compiling ipc-channel v0.6.0
[INFO] [stderr]    Compiling syscall-challenge v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/main.rs:95:69
[INFO] [stdout]    |
[INFO] [stdout] 95 |     assert!(unsafe { libc::rmdir(CString::new("/old_root").unwrap().as_ptr()) } == 0);
[INFO] [stdout]    |                                  ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[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]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.83s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7e6528ee90c3b96dc3150dba3d2525bd2bd504a1cd2fe1f3fa372804958c52fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e6528ee90c3b96dc3150dba3d2525bd2bd504a1cd2fe1f3fa372804958c52fc", kill_on_drop: false }`
[INFO] [stdout] 7e6528ee90c3b96dc3150dba3d2525bd2bd504a1cd2fe1f3fa372804958c52fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 431a687aeb5da93524c9324bb358020a960c69728a6f29d0e0800f4f964f91ce
[INFO] running `Command { std: "docker" "start" "-a" "431a687aeb5da93524c9324bb358020a960c69728a6f29d0e0800f4f964f91ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling syscall-challenge v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/main.rs:95:69
[INFO] [stdout]    |
[INFO] [stdout] 95 |     assert!(unsafe { libc::rmdir(CString::new("/old_root").unwrap().as_ptr()) } == 0);
[INFO] [stdout]    |                                  ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[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]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "431a687aeb5da93524c9324bb358020a960c69728a6f29d0e0800f4f964f91ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "431a687aeb5da93524c9324bb358020a960c69728a6f29d0e0800f4f964f91ce", kill_on_drop: false }`
[INFO] [stdout] 431a687aeb5da93524c9324bb358020a960c69728a6f29d0e0800f4f964f91ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2d1d5bdcaa69749ebca3abd12e2d0a6f9ebf1ad682e2c919a2e9205d812832da
[INFO] running `Command { std: "docker" "start" "-a" "2d1d5bdcaa69749ebca3abd12e2d0a6f9ebf1ad682e2c919a2e9205d812832da", kill_on_drop: false }`
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/main.rs:95:69
[INFO] [stderr]    |
[INFO] [stderr] 95 |     assert!(unsafe { libc::rmdir(CString::new("/old_root").unwrap().as_ptr()) } == 0);
[INFO] [stderr]    |                                  ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[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] [stderr]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `syscall-challenge` (bin "syscall-challenge" test) generated 1 warning
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/syscall_challenge-d82c9fe782ae945b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2d1d5bdcaa69749ebca3abd12e2d0a6f9ebf1ad682e2c919a2e9205d812832da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d1d5bdcaa69749ebca3abd12e2d0a6f9ebf1ad682e2c919a2e9205d812832da", kill_on_drop: false }`
[INFO] [stdout] 2d1d5bdcaa69749ebca3abd12e2d0a6f9ebf1ad682e2c919a2e9205d812832da
