[INFO] updating cached repository https://github.com/MartinN13/chatwork_client [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb008e0d8afe2f7dccd7c2431a32903ce699f5be [INFO] testing MartinN13/chatwork_client against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinN13%2Fchatwork_client" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MartinN13/chatwork_client on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MartinN13/chatwork_client [INFO] finished tweaking git repo https://github.com/MartinN13/chatwork_client [INFO] tweaked toml for git repo https://github.com/MartinN13/chatwork_client written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/MartinN13/chatwork_client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e7aabe5f56caac2207ffa52b4731f80049b3cbd983ddc7c0f853b838a6bea1d [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" "6e7aabe5f56caac2207ffa52b4731f80049b3cbd983ddc7c0f853b838a6bea1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e7aabe5f56caac2207ffa52b4731f80049b3cbd983ddc7c0f853b838a6bea1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7aabe5f56caac2207ffa52b4731f80049b3cbd983ddc7c0f853b838a6bea1d", kill_on_drop: false }` [INFO] [stdout] 6e7aabe5f56caac2207ffa52b4731f80049b3cbd983ddc7c0f853b838a6bea1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec94da96148408137f17331ac90c7799957dc6d0261e328397334c46352ed4c6 [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" "ec94da96148408137f17331ac90c7799957dc6d0261e328397334c46352ed4c6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.45 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.1 [INFO] [stderr] Compiling chatwork_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.55s [INFO] running `Command { std: "docker" "inspect" "ec94da96148408137f17331ac90c7799957dc6d0261e328397334c46352ed4c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec94da96148408137f17331ac90c7799957dc6d0261e328397334c46352ed4c6", kill_on_drop: false }` [INFO] [stdout] ec94da96148408137f17331ac90c7799957dc6d0261e328397334c46352ed4c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a080dcc0b18c216757d1c6d7aa0e839c879aca7eb22b34e517d608e06f274457 [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" "a080dcc0b18c216757d1c6d7aa0e839c879aca7eb22b34e517d608e06f274457", kill_on_drop: false }` [INFO] [stderr] Compiling chatwork_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "a080dcc0b18c216757d1c6d7aa0e839c879aca7eb22b34e517d608e06f274457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a080dcc0b18c216757d1c6d7aa0e839c879aca7eb22b34e517d608e06f274457", kill_on_drop: false }` [INFO] [stdout] a080dcc0b18c216757d1c6d7aa0e839c879aca7eb22b34e517d608e06f274457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8eb76b93b0e631a4ac924096b298fc4ecdcde0ccdf65304224920686b6039c3e [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" "8eb76b93b0e631a4ac924096b298fc4ecdcde0ccdf65304224920686b6039c3e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/chatwork_client-c1adcc062a982b7f [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 [INFO] [stdout] [INFO] [stderr] Doc-tests chatwork_client [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("Please set the CHATWORK_TOKEN enironment variable."); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("Please set the CHATWORK_TOKEN enironment variable."); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("CHATWORK_TOKENを設定してください。"); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 40) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("CHATWORK_TOKENを設定してください。"); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 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" "8eb76b93b0e631a4ac924096b298fc4ecdcde0ccdf65304224920686b6039c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb76b93b0e631a4ac924096b298fc4ecdcde0ccdf65304224920686b6039c3e", kill_on_drop: false }` [INFO] [stdout] 8eb76b93b0e631a4ac924096b298fc4ecdcde0ccdf65304224920686b6039c3e