[INFO] crate message_plugins 0.2.0 is already in cache [INFO] testing message_plugins-0.2.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate message_plugins 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate message_plugins 0.2.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate message_plugins 0.2.0 [INFO] finished tweaking crates.io crate message_plugins 0.2.0 [INFO] tweaked toml for crates.io crate message_plugins 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f08d0a2b7c7c67723908f235feda3d1b42586a8295422875cf9c2e896deb8eb [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" "9f08d0a2b7c7c67723908f235feda3d1b42586a8295422875cf9c2e896deb8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f08d0a2b7c7c67723908f235feda3d1b42586a8295422875cf9c2e896deb8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f08d0a2b7c7c67723908f235feda3d1b42586a8295422875cf9c2e896deb8eb", kill_on_drop: false }` [INFO] [stdout] 9f08d0a2b7c7c67723908f235feda3d1b42586a8295422875cf9c2e896deb8eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f031309fe240e210326f8ebadf757131d7ce0c0e799224093db6edf0cdfe8fc [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" "7f031309fe240e210326f8ebadf757131d7ce0c0e799224093db6edf0cdfe8fc", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling message_plugins v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "7f031309fe240e210326f8ebadf757131d7ce0c0e799224093db6edf0cdfe8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f031309fe240e210326f8ebadf757131d7ce0c0e799224093db6edf0cdfe8fc", kill_on_drop: false }` [INFO] [stdout] 7f031309fe240e210326f8ebadf757131d7ce0c0e799224093db6edf0cdfe8fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49efdefdb4a7eebd457c988aa78ca7493041266162d080fbd8f2055eb037ee34 [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" "49efdefdb4a7eebd457c988aa78ca7493041266162d080fbd8f2055eb037ee34", kill_on_drop: false }` [INFO] [stderr] Compiling message_plugins v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "49efdefdb4a7eebd457c988aa78ca7493041266162d080fbd8f2055eb037ee34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49efdefdb4a7eebd457c988aa78ca7493041266162d080fbd8f2055eb037ee34", kill_on_drop: false }` [INFO] [stdout] 49efdefdb4a7eebd457c988aa78ca7493041266162d080fbd8f2055eb037ee34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", 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] 62593c415bcba6660d7d7d2d30eb4db1bbf4dc52df519e14a4adc6defc44286b [INFO] running `Command { std: "docker" "start" "-a" "62593c415bcba6660d7d7d2d30eb4db1bbf4dc52df519e14a4adc6defc44286b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/message_plugins-c91502e9152fd153 [INFO] [stdout] [INFO] [stderr] Doc-tests message_plugins [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - construct_plugin (line 230) ... FAILED [INFO] [stdout] test src/lib.rs - construct_plugin_with_constructor (line 204) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - construct_plugin (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `YourPlugin` [INFO] [stdout] --> src/lib.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 5 | let plugin = Box::new(YourPlugin::new()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `YourPlugin` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Plugin` in this scope [INFO] [stdout] --> src/lib.rs:232:59 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use message_plugins::Plugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YourMessageType` in this scope [INFO] [stdout] --> src/lib.rs:232:66 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_instace` in this scope [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 6 | insert_instace(ptr, plugin); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - construct_plugin_with_constructor (line 204) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `YourPlugin` [INFO] [stdout] --> src/lib.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 5 | let plugin = Box::new(YourPlugin::new()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `YourPlugin` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Plugin` in this scope [INFO] [stdout] --> src/lib.rs:206:59 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use message_plugins::Plugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YourMessageType` in this scope [INFO] [stdout] --> src/lib.rs:206:66 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_instace` in this scope [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 6 | insert_instace(ptr, plugin); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - construct_plugin (line 230) [INFO] [stdout] src/lib.rs - construct_plugin_with_constructor (line 204) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "62593c415bcba6660d7d7d2d30eb4db1bbf4dc52df519e14a4adc6defc44286b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62593c415bcba6660d7d7d2d30eb4db1bbf4dc52df519e14a4adc6defc44286b", kill_on_drop: false }` [INFO] [stdout] 62593c415bcba6660d7d7d2d30eb4db1bbf4dc52df519e14a4adc6defc44286b