[INFO] updating cached repository https://github.com/foxford/janus-p2p-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8ab056c2be138b09486d37104871a0c0abb589d0 [INFO] testing foxford/janus-p2p-rs against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxford%2Fjanus-p2p-rs" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foxford/janus-p2p-rs on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/foxford/janus-p2p-rs [INFO] finished tweaking git repo https://github.com/foxford/janus-p2p-rs [INFO] tweaked toml for git repo https://github.com/foxford/janus-p2p-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/foxford/janus-p2p-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 064d473ae2cc937b50a1f549b7d177852dcb8abb858c4386e5fc15cc3f25a83f [INFO] running `"docker" "start" "-a" "064d473ae2cc937b50a1f549b7d177852dcb8abb858c4386e5fc15cc3f25a83f"` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling jansson-sys v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.21 [INFO] [stderr] Compiling lazy_static v0.2.10 [INFO] [stderr] Compiling cstr-macro v0.1.0 [INFO] [stderr] Compiling glib-sys v0.4.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling colored v1.6.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling janus-plugin-sys v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Compiling janus-plugin v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.6 [INFO] [stderr] Compiling janus-p2p v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/messages.rs:78:42 [INFO] [stderr] | [INFO] [stderr] 78 | ) -> ::std::result::Result> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:134:37 [INFO] [stderr] | [INFO] [stderr] 134 | type MessageResult = Result<(), Box>; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / lazy_static! { [INFO] [stderr] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stderr] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stderr] 32 | | #[derive(Debug)] [INFO] [stderr] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / lazy_static! { [INFO] [stderr] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stderr] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stderr] 32 | | #[derive(Debug)] [INFO] [stderr] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / lazy_static! { [INFO] [stderr] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stderr] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stderr] 32 | | #[derive(Debug)] [INFO] [stderr] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / lazy_static! { [INFO] [stderr] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stderr] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stderr] 32 | | #[derive(Debug)] [INFO] [stderr] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / lazy_static! { [INFO] [stderr] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stderr] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stderr] 32 | | #[derive(Debug)] [INFO] [stderr] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / lazy_static! { [INFO] [stderr] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stderr] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stderr] 32 | | #[derive(Debug)] [INFO] [stderr] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:316:55 [INFO] [stderr] | [INFO] [stderr] 316 | json!({ "ok": false, "error": err.description() }), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/janus_p2p.janus_p2p.codfg5vf-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libjanus_p2p.so" "-Wl,--version-script=/tmp/rustcvsn7ry/list" "/opt/rustwide/target/debug/deps/janus_p2p.9ya9fty6t2ile0r.rcgu.o" "-Wl,--gc-sections" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-a17e2c61c647084a.rlib" "/opt/rustwide/target/debug/deps/libdtoa-ba72c7138b152e79.rlib" "/opt/rustwide/target/debug/deps/libitoa-cb56783f765e6b0b.rlib" "/opt/rustwide/target/debug/deps/libjanus_plugin-93c22f219078215a.rlib" "/opt/rustwide/target/debug/deps/libcolored-aafdc318726b0572.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-455a6927647529a2.rlib" "/opt/rustwide/target/debug/deps/libchrono-2659033558690e4d.rlib" "/opt/rustwide/target/debug/deps/libnum-234b1c5896ca7798.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-04ab7fe380586a29.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-3f425ca29ce77f87.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-94cd633a582b5f9d.rlib" "/opt/rustwide/target/debug/deps/libtime-f933710eae07d1d4.rlib" "/opt/rustwide/target/debug/deps/libserde-3ae7eae471735606.rlib" "/opt/rustwide/target/debug/deps/libjanus_plugin_sys-50e704c67ae058c4.rlib" "/opt/rustwide/target/debug/deps/libglib_sys-1bd1285e8b06e1d7.rlib" "/opt/rustwide/target/debug/deps/libbitflags-1b60fd1bab4fdb80.rlib" "/opt/rustwide/target/debug/deps/liblibc-6fcb62e9f0bf2fcf.rlib" "/opt/rustwide/target/debug/deps/libjansson_sys-dd19583416357018.rlib" "/opt/rustwide/target/debug/deps/libbitflags-4124876739571561.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dac1a412c98f50d.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b7841fd014bf83a1.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-338c0763450dca22.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5f2e5d11836e0967.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-81a9070bd3553adf.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-e297830377b95af4.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b38b87f2dd197fa0.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-601015f2e15e7e26.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-439f3a589bd88586.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-57ab7e6ac23ce11f.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3aec7f88778e912a.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b6806800b307d4b9.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e49d7651b12f7563.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8266574e26adcc3.rlib" "-Wl,-Bdynamic" "-lglib-2.0" "-lutil" "-lutil" "-ljansson" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-shared" [INFO] [stderr] = note: /usr/bin/ld: cannot find -ljansson [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `janus-p2p`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "064d473ae2cc937b50a1f549b7d177852dcb8abb858c4386e5fc15cc3f25a83f"` [INFO] running `"docker" "rm" "-f" "064d473ae2cc937b50a1f549b7d177852dcb8abb858c4386e5fc15cc3f25a83f"` [INFO] [stdout] 064d473ae2cc937b50a1f549b7d177852dcb8abb858c4386e5fc15cc3f25a83f