[INFO] fetching crate fg 0.1.4... [INFO] testing fg-0.1.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate fg 0.1.4 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate fg 0.1.4 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 crates.io crate fg 0.1.4 [INFO] finished tweaking crates.io crate fg 0.1.4 [INFO] tweaked toml for crates.io crate fg 0.1.4 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate fg 0.1.4 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a8d9ddf0e0e159ee34760afe9cf10236c6f2f851ba80c3146eaf713a7c7527e [INFO] running `Command { std: "docker" "start" "-a" "5a8d9ddf0e0e159ee34760afe9cf10236c6f2f851ba80c3146eaf713a7c7527e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a8d9ddf0e0e159ee34760afe9cf10236c6f2f851ba80c3146eaf713a7c7527e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8d9ddf0e0e159ee34760afe9cf10236c6f2f851ba80c3146eaf713a7c7527e", kill_on_drop: false }` [INFO] [stdout] 5a8d9ddf0e0e159ee34760afe9cf10236c6f2f851ba80c3146eaf713a7c7527e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70cd49c81a06e5a4d56b9c06758f1031b606689ed40d4903aadf3a86df495a53 [INFO] running `Command { std: "docker" "start" "-a" "70cd49c81a06e5a4d56b9c06758f1031b606689ed40d4903aadf3a86df495a53", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling fg v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_raw_ptr_to_usize_cast, ptr_wrapping_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 12 | fn __ctype_b_loc() -> *mut *const libc::c_ushort; [INFO] [stdout] | ------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 14 | fn __errno_location() -> *mut libc::c_int; [INFO] [stdout] | ------------------------------------------ foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 16 | / fn glob(__pattern: *const libc::c_char, __flags: libc::c_int, [INFO] [stdout] 17 | | __errfunc: [INFO] [stdout] 18 | | Option libc::c_int>, [INFO] [stdout] 20 | | __pglob: *mut glob_t) -> libc::c_int; [INFO] [stdout] | |_________________________________________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 22 | fn globfree(__pglob: *mut glob_t); [INFO] [stdout] | ---------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 24 | / fn signal(__sig: libc::c_int, __handler: __sighandler_t) [INFO] [stdout] 25 | | -> __sighandler_t; [INFO] [stdout] | |_______________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 27 | fn kill(__pid: __pid_t, __sig: libc::c_int) -> libc::c_int; [INFO] [stdout] | ----------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 29 | fn fflush(__stream: *mut FILE) -> libc::c_int; [INFO] [stdout] | ---------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 31 | / fn fopen(__filename: *const libc::c_char, __modes: *const libc::c_char) [INFO] [stdout] 32 | | -> *mut FILE; [INFO] [stdout] | |__________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 34 | fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------ foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 36 | fn printf(_: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | --------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign static [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 38 | static mut stdin: *mut _IO_FILE; [INFO] [stdout] | -------------------------------- foreign static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign static [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 40 | static mut stdout: *mut _IO_FILE; [INFO] [stdout] | --------------------------------- foreign static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign static [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 42 | static mut stderr: *mut _IO_FILE; [INFO] [stdout] | --------------------------------- foreign static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 44 | / fn fgets(__s: *mut libc::c_char, __n: libc::c_int, __stream: *mut FILE) [INFO] [stdout] 45 | | -> *mut libc::c_char; [INFO] [stdout] | |__________________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 47 | fn perror(__s: *const libc::c_char); [INFO] [stdout] | ------------------------------------ foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 49 | fn malloc(_: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 51 | fn calloc(_: libc::c_ulong, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 53 | fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------------------------------ foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 55 | fn free(__ptr: *mut libc::c_void); [INFO] [stdout] | ---------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 57 | fn exit(_: libc::c_int) -> !; [INFO] [stdout] | ----------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 59 | / fn strtod(__nptr: *const libc::c_char, __endptr: *mut *mut libc::c_char) [INFO] [stdout] 60 | | -> libc::c_double; [INFO] [stdout] | |_______________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 62 | fn getenv(__name: *const libc::c_char) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------------------ foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 64 | / fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong) [INFO] [stdout] 65 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 67 | / fn strcpy(_: *mut libc::c_char, _: *const libc::c_char) [INFO] [stdout] 68 | | -> *mut libc::c_char; [INFO] [stdout] | |__________________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 70 | / fn strncpy(_: *mut libc::c_char, _: *const libc::c_char, _: libc::c_ulong) [INFO] [stdout] 71 | | -> *mut libc::c_char; [INFO] [stdout] | |__________________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 73 | fn strcmp(_: *const libc::c_char, _: *const libc::c_char) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 75 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stdout] | --------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 77 | fn strerror(_: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 79 | / fn waitpid(__pid: __pid_t, __stat_loc: *mut libc::c_int, [INFO] [stdout] 80 | | __options: libc::c_int) -> __pid_t; [INFO] [stdout] | |__________________________________________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 82 | fn close(__fd: libc::c_int) -> libc::c_int; [INFO] [stdout] | ------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 84 | fn pipe(__pipedes: *mut libc::c_int) -> libc::c_int; [INFO] [stdout] | ---------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 86 | fn chdir(__path: *const libc::c_char) -> libc::c_int; [INFO] [stdout] | ----------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 88 | fn getcwd(__buf: *mut libc::c_char, __size: size_t) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 90 | fn dup2(__fd: libc::c_int, __fd2: libc::c_int) -> libc::c_int; [INFO] [stdout] | -------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 92 | / fn execvp(__file: *const libc::c_char, __argv: *const *mut libc::c_char) [INFO] [stdout] 93 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 95 | fn getpid() -> __pid_t; [INFO] [stdout] | ----------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 97 | fn setpgid(__pid: __pid_t, __pgid: __pid_t) -> libc::c_int; [INFO] [stdout] | ----------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 99 | fn fork() -> __pid_t; [INFO] [stdout] | --------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 101 | fn tcsetpgrp(__fd: libc::c_int, __pgrp_id: __pid_t) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_raw_ptr_to_usize_cast, ptr_wrapping_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `ptr_wrapping_offset_from` [INFO] [stdout] --> src/main.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_raw_ptr_to_usize_cast, ptr_wrapping_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut i8` in the current scope [INFO] [stdout] --> src/main.rs:529:50 [INFO] [stdout] | [INFO] [stdout] 529 | (*commandPtr).offset(src.wrapping_offset_from(*commandPtr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut i8` in the current scope [INFO] [stdout] --> src/main.rs:552:27 [INFO] [stdout] | [INFO] [stdout] 552 | returnCommand.wrapping_offset_from(*commandPtr) as libc::c_long as [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fg` due to 6 previous errors; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70cd49c81a06e5a4d56b9c06758f1031b606689ed40d4903aadf3a86df495a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cd49c81a06e5a4d56b9c06758f1031b606689ed40d4903aadf3a86df495a53", kill_on_drop: false }` [INFO] [stdout] 70cd49c81a06e5a4d56b9c06758f1031b606689ed40d4903aadf3a86df495a53