[INFO] cloning repository https://github.com/dousamichal0807/mdswp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dousamichal0807/mdswp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdousamichal0807%2Fmdswp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdousamichal0807%2Fmdswp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf632b375048061928e2bc32d1b11d063c758e2f [INFO] testing dousamichal0807/mdswp/cf632b375048061928e2bc32d1b11d063c758e2f against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdousamichal0807%2Fmdswp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dousamichal0807/mdswp [INFO] finished tweaking git repo https://github.com/dousamichal0807/mdswp [INFO] tweaked toml for git repo https://github.com/dousamichal0807/mdswp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dousamichal0807/mdswp on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdd457398de71762a9cfaf4af8c5bd31dfee2cee31dca44aca7f7897a7b1a47c [INFO] running `Command { std: "docker" "start" "-a" "bdd457398de71762a9cfaf4af8c5bd31dfee2cee31dca44aca7f7897a7b1a47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdd457398de71762a9cfaf4af8c5bd31dfee2cee31dca44aca7f7897a7b1a47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd457398de71762a9cfaf4af8c5bd31dfee2cee31dca44aca7f7897a7b1a47c", kill_on_drop: false }` [INFO] [stdout] bdd457398de71762a9cfaf4af8c5bd31dfee2cee31dca44aca7f7897a7b1a47c [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=forbid" "-e" "RUSTDOCFLAGS=--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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bde42d582142f58bd5918dc9eb91299a6194abdc4fcec627678bae6e623ca3a [INFO] running `Command { std: "docker" "start" "-a" "0bde42d582142f58bd5918dc9eb91299a6194abdc4fcec627678bae6e623ca3a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mdswp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/stream.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | drop(()) [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `()` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.07s [INFO] running `Command { std: "docker" "inspect" "0bde42d582142f58bd5918dc9eb91299a6194abdc4fcec627678bae6e623ca3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bde42d582142f58bd5918dc9eb91299a6194abdc4fcec627678bae6e623ca3a", kill_on_drop: false }` [INFO] [stdout] 0bde42d582142f58bd5918dc9eb91299a6194abdc4fcec627678bae6e623ca3a [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=forbid" "-e" "RUSTDOCFLAGS=--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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e80dcc998c788463d48089d8113c909cf7f2e8308458a73199953acb04bbca11 [INFO] running `Command { std: "docker" "start" "-a" "e80dcc998c788463d48089d8113c909cf7f2e8308458a73199953acb04bbca11", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling mdswp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/stream.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | drop(()) [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `()` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/stream.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | drop(()) [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `()` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "e80dcc998c788463d48089d8113c909cf7f2e8308458a73199953acb04bbca11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80dcc998c788463d48089d8113c909cf7f2e8308458a73199953acb04bbca11", kill_on_drop: false }` [INFO] [stdout] e80dcc998c788463d48089d8113c909cf7f2e8308458a73199953acb04bbca11 [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=forbid" "-e" "RUSTDOCFLAGS=--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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eeab421790f734fd2fd61e8300cf9fbafd5400f858601be89ce4629a1c2c133d [INFO] running `Command { std: "docker" "start" "-a" "eeab421790f734fd2fd61e8300cf9fbafd5400f858601be89ce4629a1c2c133d", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/stream.rs:166:9 [INFO] [stderr] | [INFO] [stderr] 166 | drop(()) [INFO] [stderr] | ^^^^^--^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `()` [INFO] [stderr] | [INFO] [stderr] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mdswp` (lib) generated 1 warning [INFO] [stderr] warning: `mdswp` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mdswp-ed45dab648c476b4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::file_send ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.33s [INFO] [stdout] [INFO] [stderr] Doc-tests mdswp [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/util.rs - util::clone (line 18) ... FAILED [INFO] [stdout] test src/listener.rs - listener::MdswpListener::incoming (line 76) ... FAILED [INFO] [stdout] test src/util.rs - util::clone (line 24) ... FAILED [INFO] [stdout] test src/listener.rs - listener::MdswpListener::bind (line 47) ... ok [INFO] [stdout] test src/listener.rs - listener::MdswpListener::bind (line 56) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/util.rs - util::clone (line 18) stdout ---- [INFO] [stdout] error: cannot find macro `clone` in this scope [INFO] [stdout] --> src/util.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | clone!(variable1, variable2, variable3,... => closure) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/listener.rs - listener::MdswpListener::incoming (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `some_address` in this scope [INFO] [stdout] --> src/listener.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | let listener = MdswpListener::bind(some_address)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::clone (line 24) stdout ---- [INFO] [stdout] error: cannot find macro `clone` in this scope [INFO] [stdout] --> src/util.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let thread = thread::spawn( clone!(shared => move || { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_value` in this scope [INFO] [stdout] --> src/util.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let shared = Arc::new(some_value); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/util.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | do_something(shared); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/listener.rs - listener::MdswpListener::incoming (line 76) [INFO] [stdout] src/util.rs - util::clone (line 18) [INFO] [stdout] src/util.rs - util::clone (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eeab421790f734fd2fd61e8300cf9fbafd5400f858601be89ce4629a1c2c133d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeab421790f734fd2fd61e8300cf9fbafd5400f858601be89ce4629a1c2c133d", kill_on_drop: false }` [INFO] [stdout] eeab421790f734fd2fd61e8300cf9fbafd5400f858601be89ce4629a1c2c133d